Skip to content

Commit

Permalink
Bug fix - fix missing default var (#2162/ #2118/ #2122 )
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtlmoon authored Feb 6, 2024
1 parent 72c7645 commit 78a2dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changedetectionio/content_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(self, step_n, original_e):

# @todo - make base Exception class that announces via logger()
class PageUnloadable(Exception):
def __init__(self, status_code, url, message, screenshot=False):
def __init__(self, status_code=None, url='', message='', screenshot=False):
# Set this so we can use it in other parts of the app
self.status_code = status_code
self.url = url
Expand Down

0 comments on commit 78a2dce

Please sign in to comment.