cosmetics
This commit is contained in:
parent
d60a49c275
commit
cb63f80fe2
1 changed files with 2 additions and 4 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue