Fixed small error when passing variables to WXUpdater constructor

This commit is contained in:
Manuel Cortez 2022-02-21 11:29:42 -06:00
parent 839c14375b
commit 28d0173854
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -90,7 +90,7 @@ class WXUpdater(core.UpdaterCore):
if update_progress_title: if update_progress_title:
self.update_progress_title = update_progress_title self.update_progress_title = update_progress_title
if update_progress_msg: if update_progress_msg:
self.update_progress_msg self.update_progress_msg = update_progress_msg
if update_almost_complete_title: if update_almost_complete_title:
self.update_almost_complete_title = update_almost_complete_title self.update_almost_complete_title = update_almost_complete_title
if update_almost_complete_msg: if update_almost_complete_msg:
@ -162,7 +162,6 @@ class WXUpdater(core.UpdaterCore):
if response == False: if response == False:
return None return None
base_path = tempfile.mkdtemp() base_path = tempfile.mkdtemp()
print(base_path)
download_path = os.path.join(base_path, 'update.zip') download_path = os.path.join(base_path, 'update.zip')
downloaded = self.download_update(cast(str, version_data[2]), download_path) downloaded = self.download_update(cast(str, version_data[2]), download_path)
update_path = os.path.join(base_path, 'update') update_path = os.path.join(base_path, 'update')