Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zkitefly committed May 3, 2024
1 parent bf2af33 commit 99731cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion installer-gitee.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def download_selected_version():
download_file(version_id, url, versions_folder)

def download_file(version_id, url, download_path):
file_name = version_id
file_name = version_id + ".json"
full_path = os.path.join(download_path, file_name)
urllib.request.urlretrieve(url, full_path)
status_label.config(text=f"下载完成 {file_name}{download_path}")
Expand Down
2 changes: 1 addition & 1 deletion installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def download_selected_version():
download_file(version_id, url, versions_folder)

def download_file(version_id, url, download_path):
file_name = version_id
file_name = version_id + ".json"
full_path = os.path.join(download_path, file_name)
urllib.request.urlretrieve(url, full_path)
status_label.config(text=f"下载完成 {file_name}{download_path}")
Expand Down

0 comments on commit 99731cb

Please sign in to comment.