Explorar el Código

실수한 부분 수정

잉여개발기 (SPDV) hace 2 años
padre
commit
2eb0a6ed05
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      route/tool/func.py

+ 1 - 1
route/tool/func.py

@@ -678,7 +678,7 @@ def set_init_always(conn, ver_num):
 
         curs.execute(db_change('select data from other where name = "update"'))
         up_data = curs.fetchall()
-        up_data = up_data[0][0] if up_data and up_data[0][0] in ['stable', 'beta', 'dev'] else 'stable'
+        up_data = up_data[0][0] if up_data else 'stable'
 
         exe_type = ''
         if platform.system() == 'Linux':