fix #text reply message, for good
This commit is contained in:
parent
2a54a8a308
commit
00397b2dac
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue