Browse Source

실수한 부분 수정

잉여개발기 (SPDV) 2 năm trước cách đây
mục cha
commit
2eb0a6ed05
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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':