소스 검색

버전 수정

Surplus_Up (2DU) 6 년 전
부모
커밋
5be3982cc4
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  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]