cosmetics

This commit is contained in:
Tomáš Mládek 2019-04-18 16:19:21 +02:00 committed by Tomáš Mládek
parent d60a49c275
commit cb63f80fe2

View file

@ -160,8 +160,7 @@ class DelojzaBot:
message.reply_text(reply)
filenames = download_fn(urls, hashtag or '.', message.date,
extract=extract, filename=filename)
filenames = download_fn(urls, hashtag or '.', message.date, extract=extract, filename=filename)
if hashtag == 'TUMBLR':
message.reply_text('(btw, queueing to tumblr)')
for filename in filenames:
@ -253,8 +252,7 @@ class MarkovBlabberer:
if __name__ == '__main__':
logging.basicConfig(level=logging.INFO,
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
_DIR_ = os.path.dirname(os.path.realpath(__file__))
CONFIG_PATHS = ['/etc/delojza/delojza.ini',