diff --git a/delojza.py b/delojza.py index 689efd9..f7d0f35 100755 --- a/delojza.py +++ b/delojza.py @@ -73,6 +73,8 @@ class DelojzaBot: if tumblr_name and tumblr_keys: self.tumblr_name = tumblr_name self.tumblr_client = pytumblr.TumblrRestClient(*tumblr_keys) + else: + self.tumblr_client = None self.protected_chats = protected_chats or [] self.protected_tags = protected_tags or []