From 78a2dceb81dbb6424229c0931bd8e65259d11698 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 6 Feb 2024 17:25:44 +0100 Subject: [PATCH] Bug fix - fix missing default var (#2162/ #2118/ #2122 ) --- 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 9544a950..4a2b7c6b 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