잉여개발기 vor 1 Jahr
Ursprung
Commit
f8eb6aceae
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  1. 1 2
      route/tool/func.py

+ 1 - 2
route/tool/func.py

@@ -163,11 +163,10 @@ def python_to_golang_sync(func_name, other_set = {}):
             res = requests.post('http://localhost:' + db_data + '/', data = json.dumps(other_set))
             res = requests.post('http://localhost:' + db_data + '/', data = json.dumps(other_set))
             data = res.text
             data = res.text
 
 
+            print(data)
             if "error" == data:
             if "error" == data:
                 raise
                 raise
             else:
             else:
-                print(data)
-                
                 return data
                 return data
 
 
 async def python_to_golang(func_name, other_set = {}):
 async def python_to_golang(func_name, other_set = {}):