Skip to content

Commit

Permalink
rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
cnwxi committed Sep 8, 2024
1 parent 1e2a96c commit 87a9345
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
version:
description: 'Release version'
required: true
default: '2024.09.08.v1'
default: '2024.09.08.v2'
body:
description: 'Release body text'
required: true
Expand Down
4 changes: 3 additions & 1 deletion epub_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,14 @@ def check_mode(args):
def main():
prepare_args()
log_file = "log.txt"
print("-欢迎使用Epub Tool-")
print("-此程序由cnwxi提供-")
with open(log_file, "w", encoding="utf-8") as f:
args = prepare_args()
args = check_args(args)
process, func = check_mode(args)
tmp_run_result = []
with tqdm(total=len(args.i),ncols=100,desc=f'{process}文件') as pbar:
with tqdm(total=len(args.i), ncols=100, desc=f"{process}文件") as pbar:
for file in args.i:
sys.stdout = f
ret = func(file)
Expand Down

0 comments on commit 87a9345

Please sign in to comment.