2
0
Эх сурвалжийг харах

Merge pull request #2500 from openNAMU/dont_use

아마도 버그 수정
잉여개발기 1 жил өмнө
parent
commit
5991cd0c3e

+ 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
route/tool/func_render_namumark.py

@@ -201,9 +201,9 @@ class class_do_render_namumark:
 
     def get_tool_link_fix_sub(self, link_sub):
         if re.search(r'^:(분류|category):', link_sub, flags = re.I):
-            link_sub = re.sub(r'^:(?P<in>분류|category):', '\g<in>:', link_sub, flags = re.I)
+            link_sub = re.sub(r'^:(?P<in>분류|category):', '\\g<in>:', link_sub, flags = re.I)
         elif re.search(r'^:(파일|file):', link_sub, flags = re.I):
-            link_sub = re.sub(r'^:(?P<in>파일|file):', '\g<in>:', link_sub, flags = re.I)
+            link_sub = re.sub(r'^:(?P<in>파일|file):', '\\g<in>:', link_sub, flags = re.I)
 
         return link_sub
 

+ 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/"
 }