瀏覽代碼

실수한 부분 수정

잉여개발기 (SPDV) 2 年之前
父節點
當前提交
2eb0a6ed05
共有 1 個文件被更改,包括 1 次插入1 次删除
  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':