From 00397b2dace754cb7d123db3325c7fb51175a175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Tue, 28 May 2019 17:53:35 +0200 Subject: [PATCH] fix #text reply message, for good --- delojza.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delojza.py b/delojza.py index 503c5ed..7e0a3f0 100755 --- a/delojza.py +++ b/delojza.py @@ -270,7 +270,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(out_path, filename))) + message.reply_text("Saved text to \"{}\"...".format(os.path.join(*hashtags[1:] or ['TEXT'], filename))) # noinspection PyBroadException def handle(self, urls, message, hashtags, download_fn, filetitle=None):