fix #text reply message, for good

This commit is contained in:
Tomáš Mládek 2019-05-28 17:53:35 +02:00
parent 2a54a8a308
commit 00397b2dac

View file

@ -270,7 +270,7 @@ class DelojzaBot:
with open(file_path, 'w') as out_file: with open(file_path, 'w') as out_file:
out_file.write(message.text) out_file.write(message.text)
message.reply_text("Saved text to \"{}\"...".format(os.path.join(out_path, filename))) message.reply_text("Saved text to \"{}\"...".format(os.path.join(*hashtags[1:] or ['TEXT'], filename)))
# noinspection PyBroadException # noinspection PyBroadException
def handle(self, urls, message, hashtags, download_fn, filetitle=None): def handle(self, urls, message, hashtags, download_fn, filetitle=None):