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