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):