Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SiCKRAGE
sickrage
Commits
4aad6548
Commit
4aad6548
authored
Jul 26, 2021
by
echel0n
Browse files
Fixed TypeError("check_for_update() got an unexpected keyword argument 'force'")
parent
6cddfb35
Changes
2
Hide whitespace changes
Inline
Side-by-side
sickrage/core/webserver/handlers/api/v1/__init__.py
View file @
4aad6548
...
...
@@ -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
(),
})
...
...
sickrage/core/webserver/handlers/home/__init__.py
View file @
4aad6548
...
...
@@ -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
())
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment