fix incorrect reply_message when handling text

This commit is contained in:
Tomáš Mládek 2019-05-28 16:48:02 +02:00
parent ed81096071
commit 64d0080885

View file

@ -288,7 +288,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(*hashtags[1:], filename))) message.reply_text("Saved text to \"{}\"...".format(os.path.join(out_path, 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):