Surplus_Up (2DU) 8 лет назад
Родитель
Сommit
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_end = 'jpg'
 
 
                     file_src = '/image/' + tool.sha224(file_name) + '.' + file_end
                     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])
                     curs.execute("select title from data where title = ?", [file_alt])
                     exist = curs.fetchall()
                     exist = curs.fetchall()