Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mjishnu committed Oct 29, 2023
1 parent 0362014 commit 3e415bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ def download_install_thread(data, progress_current, progress_main):
main_dict, final_data, file_name, uwp = data
part = int(50 / len(final_data))
if self.actionDedicated_Folder.isChecked():
dwnpath = f"{script_dir}//downloads//{file_name}/"
app_folder = "".join(file_name.split(".")[:-1])
dwnpath = f"{script_dir}//downloads//{app_folder}/"
else:
dwnpath = f"{script_dir}//downloads/"
if not os.path.exists(dwnpath):
Expand Down

0 comments on commit 3e415bc

Please sign in to comment.