From 64d0080885117e08c54ab4699bd1424b543eb0c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Tue, 28 May 2019 16:48:02 +0200 Subject: [PATCH] fix incorrect reply_message when handling text --- delojza.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delojza.py b/delojza.py index 65a5ade..b0740eb 100755 --- a/delojza.py +++ b/delojza.py @@ -288,7 +288,7 @@ class DelojzaBot: with open(file_path, 'w') as out_file: 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 def handle(self, urls, message, hashtags, download_fn, filetitle=None):