Skip to content

Commit

Permalink
feat: update publish version. Modify delete file unexist bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
jingle1267 committed Nov 22, 2024
1 parent a13d9e1 commit 2dbf476
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/Demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def main():
# print('example main')
file_path = os.path.abspath(os.path.join(os.getcwd(), 'test2.md'))

md2xmind.start_trans_file(file_path, 'test2', 'test22')
md2xmind.start_trans_file(file_path, 'test3', 'test3')

with open(file_path, 'r', encoding='utf-8') as f:
md_content = f.read()
Expand Down
2 changes: 1 addition & 1 deletion md2xmind/Md2Xmind.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def main(md_content, target_file_name, topic_name):
# zipf.write('manifest.xml', 'manifest.xml')

# 删除临时的 manifest.json 文件
os.remove('manifest.json')
os.remove('manifest.xml')
#
# # 创建 manifest.xml 文件
# with open('manifest.json', 'w', encoding='utf-8') as f:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
EMAIL = 'jingle1267@163.com'
AUTHOR = 'jingle1267'
REQUIRES_PYTHON = '>=3.6.0'
VERSION = '1.2.2'
VERSION = '1.2.3'

# What packages are required for this module to be executed?
REQUIRED = [
Expand Down

0 comments on commit 2dbf476

Please sign in to comment.