Fixed small error when passing variables to WXUpdater constructor
This commit is contained in:
parent
839c14375b
commit
28d0173854
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user