We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65c065a commit 8abb7cbCopy full SHA for 8abb7cb
2 files changed
epub_browser/library.py
@@ -16,12 +16,7 @@ def __init__(self, output_dir=None):
16
# 创建基础目录
17
if output_dir is not None:
18
if os.path.exists(output_dir):
19
- try:
20
- # 如果存在则尝试删了再建
21
- shutil.rmtree(output_dir)
22
- os.mkdir(output_dir)
23
- except Exception:
24
- print(f"output_dir {output_dir} exists, try to recreate failed, please check.")
+ # 如果存在 那就存在
25
self.base_directory = output_dir
26
else:
27
try:
setup.py
@@ -6,7 +6,7 @@
6
7
setup(
8
name="epub-browser", # 在PyPI上显示的项目名称
9
- version="1.2.7", # 初始版本号
+ version="1.2.8", # 初始版本号
10
author="dfface", # 作者名
11
author_email="dfface@sina.com", # 作者邮箱
12
keywords="epub reader html export browser convert calibre-web calibre kindle web server local",
0 commit comments