Commit 4aad6548 authored by echel0n's avatar echel0n
Browse files

Fixed TypeError("check_for_update() got an unexpected keyword argument 'force'")

parent 6cddfb35
......@@ -1294,7 +1294,7 @@ class CMD_SiCKRAGECheckVersion(ApiCall):
"latest_version": {
"version": sickrage.app.version_updater.updater.latest_version,
},
"needs_update": sickrage.app.version_updater.check_for_update(True),
"needs_update": sickrage.app.version_updater.check_for_update(),
})
......
......@@ -733,7 +733,7 @@ class UpdateCheckHandler(BaseHandler):
sickrage.app.alerts.message(_("Updater"), _('Checking for updates'))
# check for new app updates
if not sickrage.app.version_updater.check_for_update(force=True):
if not sickrage.app.version_updater.check_for_update():
sickrage.app.alerts.message(_("Updater"), _('No new updates available!'))
return self.redirect(self.previous_url())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment