Explorar el Código

버전 수정

Surplus_Up (2DU) hace 6 años
padre
commit
5be3982cc4
Se han modificado 1 ficheros con 4 adiciones y 3 borrados
  1. 4 3
      route/tool/set_mark/namumark.py

+ 4 - 3
route/tool/set_mark/namumark.py

@@ -141,10 +141,11 @@ def table_parser(data, cel_data, cel_num, start_data, num = 0, cel_color = {}):
     return [all_table, row_style, cel_style, row, cel, table_class, num, div_style, cel_color]
 
 def table_start(data):
-    cel_num = 0
-    table_num = 0
-    table_end = ''
     while 1:
+        cel_num = 0
+        table_num = 0
+        table_end = ''
+        
         table = re.search('\n((?:(?:(?:(?:\|\||\|[^|]+\|)+(?:(?:(?!\|\|).\n*)*))+)\|\|(?:\n)?)+)', data)
         if table:
             table = '\n' + table.groups()[0]