From cb63f80fe2c553c762132913ced8ca1d010f338a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Thu, 18 Apr 2019 16:19:21 +0200 Subject: [PATCH] cosmetics --- delojza.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/delojza.py b/delojza.py index 699e700..706eda1 100755 --- a/delojza.py +++ b/delojza.py @@ -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',