chenhaiyang 4 anos atrás
pai
commit
fb3d36d7bd
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/services/platform.py

+ 1 - 1
app/services/platform.py

@@ -65,7 +65,7 @@ class DataPlatformService(Service):
             latest_data = raw_info.get('Content')[-1].get('data')
             latest_data = raw_info.get('Content')[-1].get('data')
             latest_time = raw_info.get('Content')[-1].get('receivetime')
             latest_time = raw_info.get('Content')[-1].get('receivetime')
             if arrow.get(latest_time, TIME_FMT).shift(minutes=15) < arrow.get(self._now_time, TIME_FMT):
             if arrow.get(latest_time, TIME_FMT).shift(minutes=15) < arrow.get(self._now_time, TIME_FMT):
-                logger.info(f'delayed data - {self._space_id}: ({latest_time}, {latest_data})')
+                logger.info(f'delayed data - {object_id}: ({latest_time}, {latest_data})')
             value = round_half_up(latest_data, 2)
             value = round_half_up(latest_data, 2)
 
 
         return value
         return value