Explorar o código

https://github.com/openNAMU/openNAMU/issues/1935

잉여개발기 (SPDV) %!s(int64=2) %!d(string=hai) anos
pai
achega
6d0b5e2071
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app.py
  2. 0 0
      route_go/bin/main_func_easter_egg.amd64.bin

+ 1 - 1
app.py

@@ -239,7 +239,7 @@ with get_db_connect() as conn:
 
         curs.execute(db_change('select data from other where name = "back_up"'))
         back_time = curs.fetchall()
-        back_time = int(number_check(back_time[0][0])) if back_time and back_time != '' else 0
+        back_time = int(number_check(back_time[0][0])) if back_time and back_time[0][0] != '' else 0
         if back_time != 0:
             curs.execute(db_change('select data from other where name = "backup_where"'))
             back_up_where = curs.fetchall()

+ 0 - 0
route_go/bin/main_func_easter_egg.amd64.bin