From 0833507e476f8a21f3699c0610d9c346892cdafb Mon Sep 17 00:00:00 2001 From: whitc3 <104012899+whitc3@users.noreply.github.com> Date: Wed, 31 May 2023 10:33:57 -0500 Subject: [PATCH] Minor fix - neocities/neocities.py Using "none" throws a DeprecationError from requests. This fixes that. --- neocities/neocities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neocities/neocities.py b/neocities/neocities.py index 9c0c44b..2802641 100644 --- a/neocities/neocities.py +++ b/neocities/neocities.py @@ -3,7 +3,7 @@ class NeoCities: api_key = None - def __init__(self, username=None, password=None, api_key=None, options={}): + def __init__(self, username='', password='', api_key='', options={}): self.auth = (username, password) if api_key: self.api_key = api_key