Explorar o código

버그 수정 4

ect (or 2du) %!s(int64=8) %!d(string=hai) anos
pai
achega
224a130f22
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      emergency_tool.py

+ 1 - 1
emergency_tool.py

@@ -57,7 +57,7 @@ elif what_i_do == '3':
 
 
     # 데이터 삭제
     # 데이터 삭제
     curs.execute("insert into rb (block, end, today, blocker, why, band) values (?, ?, ?, ?, ?, ?)", [user_data, '해제', get_time(), 'localhost', '', band])
     curs.execute("insert into rb (block, end, today, blocker, why, band) values (?, ?, ?, ?, ?, ?)", [user_data, '해제', get_time(), 'localhost', '', band])
-    curs.execute("delete from ban where block = ?", [user_data]))
+    curs.execute("delete from ban where block = ?", [user_data])
 
 
 # 커밋
 # 커밋
 conn.commit()
 conn.commit()