🐞 fix: 同时修复pyinstall版本

This commit is contained in:
AdminWhaleFall
2022-04-26 20:33:54 +08:00
parent 02fd6767e6
commit faeec2964d

View File

@@ -119,7 +119,8 @@ def run(thread: int, phone: Union[str, tuple], interval: int, super: bool = Fals
_api = load_json()
_api_get = load_getapi()
except ValueError:
logger.error("接口获取出错!请update更新接口.")
logger.error("读取接口出错!正在重新下载接口数据!....")
update()
sys.exit(1)
i = 0
if super:
@@ -172,4 +173,5 @@ cli.add_command(update)
if __name__ == "__main__":
logger.info(f"当前脚本目录:{path}")
cli()