浏览代码

添加日志1

tanghongbin 4 年之前
父节点
当前提交
3977d78744
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      Controller/UidSetController.py

+ 4 - 4
Controller/UidSetController.py

@@ -437,6 +437,10 @@ class UidSetView(View):
             try:
             try:
                 ucs = {}
                 ucs = {}
                 info = ''
                 info = ''
+                info = info + 'start_x=' + str(start_x) + ' '
+                info = info + 'start_y=' + str(start_y) + ' '
+                info = info + 'end_x=' + str(end_x) + ' '
+                info = info + 'end_y=' + str(end_y) + ' '
                 if enter_voice:
                 if enter_voice:
                     ucs['voice_prompt_enter'] = enter_voice
                     ucs['voice_prompt_enter'] = enter_voice
 
 
@@ -450,19 +454,15 @@ class UidSetView(View):
                     ucs['voice_prompt_intelligent_mute'] = intelligent_mute
                     ucs['voice_prompt_intelligent_mute'] = intelligent_mute
 
 
                 if start_x:
                 if start_x:
-                    info = info + 'start_x=' + str(start_x) + ' '
                     ucs['voice_start_x'] = start_x
                     ucs['voice_start_x'] = start_x
 
 
                 if start_y:
                 if start_y:
-                    info = info + 'start_x=' + str(start_x) + ' '
                     ucs['voice_start_y'] = start_y
                     ucs['voice_start_y'] = start_y
 
 
                 if end_x:
                 if end_x:
-                    info = info + 'start_x=' + str(start_x) + ' '
                     ucs['voice_end_x'] = end_x
                     ucs['voice_end_x'] = end_x
 
 
                 if end_y:
                 if end_y:
-                    info = info + 'start_x=' + str(start_x) + ' '
                     ucs['voice_end_y'] = end_y
                     ucs['voice_end_y'] = end_y
 
 
                 if start_time:
                 if start_time: