ソースを参照

打印日志4

tanghongbin 5 年 前
コミット
1ba36aa3f1
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Controller/ShadowController.py

+ 1 - 1
Controller/ShadowController.py

@@ -65,7 +65,7 @@ def update_device_shadow(request):
     etk = request_dict.get('etk', None)
     eto = ETkObject(etk)
     uid = eto.uid
-    log = 'push----------{time}'.format(time=time.strftime('%Y-%m-%d-%H-%M-%S', time.localtime()))
+    log = 'shadow----------{time}'.format(time=time.strftime('%Y-%m-%d-%H-%M-%S', time.localtime()))
     log += '\n'
     log += '\tuid=' + uid
     LogUtil.write_log(log=log)