fix AttributeError: 'ThermometerEquipmentInfo' object has no attribute 'remark'

FFIB 3 anos atrás
pai
commit
dcdba200e0
1 arquivos alterados com 0 adições e 2 exclusões
  1. 0 2
      equipment/models.py

+ 0 - 2
equipment/models.py

@@ -181,8 +181,6 @@ class ThermometerEquipmentInfo(BaseModelMixin):
181 181
         return {
182 182
             'point_id': self.point_id,
183 183
             'macid': self.macid,
184
-            'remark': self.remark,
185
-            'last_submit_at': tc.local_string(utc_dt=self.last_submit_at, format='%m-%d %H:%M') if self.last_submit_at else '',
186 184
         }
187 185
 
188 186