2
0
Surplus_Up (2DU) 8 жил өмнө
parent
commit
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()