From 7c937ca6bd0a8b6f2280fb8353a3b6c73a6bac16 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Thu, 11 Nov 2021 20:00:54 +0100 Subject: [PATCH] Set defaults for __init__ function --- checks/config.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/checks/config.py b/checks/config.py index 775fa58..5330622 100644 --- a/checks/config.py +++ b/checks/config.py @@ -5,10 +5,10 @@ class Config(object): def __init__(self, urls, - screenshot_bucket_name, - screenshot_datastore_kind, - storage_credentials_path, - datastore_credentials_path, + screenshot_bucket_name='', + screenshot_datastore_kind='', + storage_credentials_path='', + datastore_credentials_path='', user_agent='green-spider/1.0'): self._urls = set(urls) self._user_agent = user_agent