Parcourir la source

隐藏输出信息1

psto il y a 2 ans
Parent
commit
040176c6a2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -144,7 +144,7 @@ async def get_opc_data(sys_url, point_arr, ns=2):
                 # 监听点位
                 await client.create_subscription(500, handler)
             except Exception as e:
-                print(e.args)
+                # print(e.args)
                 raise Exception("设置监听错误!")
             try:
                 value = await tag.read_value()