Skip to content

Commit

Permalink
Failed download + params
Browse files Browse the repository at this point in the history
  • Loading branch information
BKSteve committed Feb 12, 2024
1 parent 0fb6c6b commit bae210c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sickchill/oldbeard/notifiers/gotify.py
Expand Up @@ -116,7 +116,7 @@ def notify_login(self, ipaddress=""):
title = notifyStrings[NOTIFY_LOGIN]
self._notify_gotify(title, update_text.format(ipaddress))

def _notify_gotify(self, title, message, host, token=None, force=False):
def _notify_gotify(self, title, message, host=None, token=None, force=False):
"""
Sends a Gotify notification
Expand Down
2 changes: 1 addition & 1 deletion sickchill/views/history.py
Expand Up @@ -16,7 +16,7 @@ def initialize(self):
self.history = HistoryTool()

def index(self):
settings.HISTORY_LIMIT = try_int(self.get_query_argument("limit", default=100), 100)
settings.HISTORY_LIMIT = try_int(self.get_query_argument("limit", default="100"), 100)
sickchill.start.save_config()

compact = []
Expand Down
2 changes: 1 addition & 1 deletion sickchill/views/manage/index.py
Expand Up @@ -712,7 +712,7 @@ def massUpdate(self):
return self.redirect("/manage/")

def failedDownloads(self):
remove = self.get_body_arguments("remove")
remove = self.get_body_arguments("remove[]")
limit = self.get_argument("limit", "100")
failed_db_con = db.DBConnection("failed.db")

Expand Down

0 comments on commit bae210c

Please sign in to comment.