瀏覽代碼

사소한 수정

Surplus_Up (2DU) 8 年之前
父節點
當前提交
234809f824
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      set_mark/namu.py

+ 1 - 1
set_mark/namu.py

@@ -843,7 +843,7 @@ def namu(conn, data, title,):
                         file_end = 'jpg'
 
                     file_src = '/image/' + tool.sha224(file_name) + '.' + file_end
-                    file_alt = 'File:' + file_name + '.' + file_end
+                    file_alt = 'file:' + file_name + '.' + file_end
 
                     curs.execute("select title from data where title = ?", [file_alt])
                     exist = curs.fetchall()