Explorar o código

일부 수정

잉여개발기 hai 1 ano
pai
achega
4003996f79
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      route/tool/func.py
  2. 2 2
      version.json

+ 1 - 1
route/tool/func.py

@@ -164,7 +164,7 @@ async def python_to_golang(func_name, other_set = {}):
                 async with session.post('http://localhost:' + db_data + '/', data = json.dumps(other_set)) as res:
                     data = await res.json()
 
-                    if "error" == data:
+                    if data["response"] == "error":
                         raise
                     else:
                         return data

+ 2 - 2
version.json

@@ -1,6 +1,6 @@
 {
-    "r_ver" : "v3.6.0-v1",
+    "r_ver" : "v3.6.0-v2",
     "c_ver" : "20241202",
     "s_ver" : "20240426",
-    "bin_link" : "https://github.com/openNAMU/GopenNAMU/releases/download/v2025-03-17-v1/"
+    "bin_link" : "https://github.com/openNAMU/GopenNAMU/releases/download/v2025-03-17-v2/"
 }