maybe not client
This commit is contained in:
parent
2d85eae50a
commit
b37e4be8b3
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class DelojzaBot:
|
|||
message.reply_text(reply)
|
||||
|
||||
filenames = download_fn(urls, hashtag or '.', message.date, extract=extract, filename=filename)
|
||||
if hashtag == 'TUMBLR':
|
||||
if hashtag == 'TUMBLR' and self.client:
|
||||
message.reply_text('(btw, queueing to tumblr)')
|
||||
for filename in filenames:
|
||||
self.client.create_photo('kunsaxan', state="queue", data=filename)
|
||||
|
|
Loading…
Reference in a new issue