From f1babbac33e0e94ea3153e515b4a171bdcd54632 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 6 Feb 2024 13:05:21 +0100 Subject: [PATCH] Re #2118 fix missing default var --- changedetectionio/content_fetcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/content_fetcher.py b/changedetectionio/content_fetcher.py index 9544a9507..4a2b7c6bf 100644 --- a/changedetectionio/content_fetcher.py +++ b/changedetectionio/content_fetcher.py @@ -53,7 +53,7 @@ class BrowserStepsStepException(Exception): # @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