From fcfbae49641181c4e080fec0a94194cec8a6e429 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Fri, 3 Feb 2023 12:16:31 -0600 Subject: [PATCH 1/2] Fixed important issue on updater --- src/update/wxUpdater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/update/wxUpdater.py b/src/update/wxUpdater.py index 11cf090e..6ba989a4 100644 --- a/src/update/wxUpdater.py +++ b/src/update/wxUpdater.py @@ -30,7 +30,7 @@ def progress_callback(total_downloaded, total_size): if total_downloaded == total_size: progress_dialog.Destroy() else: - progress_dialog.Update(old_div((total_downloaded*100),total_size), _(u"Updating... %s of %s") % (str(utils.convert_bytes(total_downloaded)), str(utils.convert_bytes(total_size)))) + progress_dialog.Update(int((total_downloaded*100)/total_size), _(u"Updating... %s of %s") % (str(utils.convert_bytes(total_downloaded)), str(utils.convert_bytes(total_size)))) def update_finished(): ms = wx.MessageDialog(None, _(u"The update has been downloaded and installed successfully. Press OK to continue."), _(u"Done!")).ShowModal() From 7d7a9d72c4fc8b2226f73e1411a8d366733509fb Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Fri, 3 Feb 2023 12:18:12 -0600 Subject: [PATCH 2/2] Fixed update file --- updates/updates.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updates/updates.json b/updates/updates.json index d081ca00..4610261b 100644 --- a/updates/updates.json +++ b/updates/updates.json @@ -1,5 +1,5 @@ {"current_version": "2023.2.3", -"description": "Stops support for Twitter session on Feb 9, updates to mastodon sessions.", +"description": "Stops support for Twitter session on Feb 9, updates to mastodon sessions. Please avoid using autoupdate as it will not work.", "date": "unknown", "downloads": {"Windows32": "https://twblue.es/pubs/twblue_x86.zip",