Browse Source

버그 수정

ect (or 2du) 8 years ago
parent
commit
f512167d2e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -2746,7 +2746,7 @@ def read_view(name = None, num = None, redirect = None):
                     curs.execute("select data from data where title = ?", [data[0]])
                     db_data = curs.fetchall()
                     if(db_data):
-                        if(re.search('\[\[' + name + ']]', mid_pas(db_data[0][0], 0, 1, 0)[0])):
+                        if(re.search('\[\[' + name + ']]', mid_pas(db_data[0][0], 0, 1, 0, 0)[0])):
                             div += ' * [[' + data[0] + ']]\r\n * [[wiki:xref/' + url_pas(data[0]) + '|' + data[0] + ']] (역링크)\r\n'
                         else:
                             div += ' * [[' + data[0] + ']]\r\n'