mirror of
https://github.com/WhaleFell/SMSBoom.git
synced 2026-02-03 10:23:22 +08:00
🐞 fix: 同时修复pyinstall版本
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user