浏览代码

파서 버그 수정

Surplus_Up (2DU) 7 年之前
父节点
当前提交
669652ce7f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      set_mark/namu.py

+ 1 - 1
set_mark/namu.py

@@ -431,7 +431,7 @@ def namu(conn, data, title, main_num):
             curs.execute("select data from data where title = ?", [include_data])
             include_data = curs.fetchall()
             if include_data:
-                include_parser = include_data[0][0]
+                include_parser = include_re.sub('', include_data[0][0])
 
                 while 1:
                     include_plus = re.search(', ?((?:(?!=).)+)=((?:(?!,).)+)', include)