Explorar o código

아차 또 버그 수정

Surplus_Up (2DU) %!s(int64=7) %!d(string=hai) anos
pai
achega
1194b3f9cf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      func.py

+ 1 - 1
func.py

@@ -561,7 +561,7 @@ def ban_insert(name, end, why, login, blocker):
 
     curs.execute("select block from ban where block = ?", [name])
     if curs.fetchall():
-        curs.execute("insert into rb (block, end, today, blocker, why, band) values (?, ?, ?, ?, ?, ?)", [name, load_lang('release', 1), time, blocker, '', band])
+        curs.execute("insert into rb (block, end, today, blocker, why, band) values (?, ?, ?, ?, ?, ?)", [name, load_lang('release', 1), now_time, blocker, '', band])
         curs.execute("delete from ban where block = ?", [name])
     else:
         if login != '':