fix crash on no Tumblr
This commit is contained in:
parent
ff5526eeed
commit
45a7594ef3
1 changed files with 2 additions and 0 deletions
|
@ -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 []
|
||||
|
|
Loading…
Reference in a new issue