Skip to content

Commit

Permalink
修复输入未处理引号。
Browse files Browse the repository at this point in the history
  • Loading branch information
cnwxi committed Oct 24, 2024
1 parent 724ce3c commit cb3ffde
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
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.09.v2'
default: '2024.10.24.v1'
body:
description: 'Release body text'
required: true
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
<summary>点击以展开</summary>
<p>

### 2024.10.24<br>
修复未处理输入时拖入文件带引号导致的文件路径检查错误。<br>
### 2024.09.09<br>
因额外依赖库未打包到可执行文件,重新打包可执行文件。<br>
更新相关使用教程。<br>
Expand Down
1 change: 1 addition & 0 deletions epub_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def prepare_args():
def check_args(args):
if not args.i:
args.i = input("请输入epub文件路径或文件夹路径:")
args.i = args.i.strip("'").strip('"').strip()
# 判断输入文件是否为文件夹
if os.path.isdir(args.i):
file_list = []
Expand Down

0 comments on commit cb3ffde

Please sign in to comment.