mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-03 15:05:11 -04:00
Fix the passing of the latest version returned to the UI if it is an invalid version
This commit is contained in:
parent
1ad68c46d4
commit
2fd2cf3e2e
2 changed files with 7 additions and 7 deletions
|
@ -658,8 +658,8 @@ class SettingsDialog(QtWidgets.QDialog):
|
|||
Alert(self.common, strings._('update_error_check_error', True), QtWidgets.QMessageBox.Warning)
|
||||
close_forced_update_thread()
|
||||
|
||||
def update_invalid_version():
|
||||
Alert(self.common, strings._('update_error_invalid_latest_version', True).format(e.latest_version), QtWidgets.QMessageBox.Warning)
|
||||
def update_invalid_version(latest_version):
|
||||
Alert(self.common, strings._('update_error_invalid_latest_version', True).format(latest_version), QtWidgets.QMessageBox.Warning)
|
||||
close_forced_update_thread()
|
||||
|
||||
forced_update_thread = UpdateThread(self.common, self.onion, self.config, force=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue