Skip to content

Commit 34422f4

Browse files
committed
1.5.5 - ETM: Bug fix.
2 parents 397945f + cd644a2 commit 34422f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/eh_telegram_master/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ def recognize(self, *args, **kwargs):
11551155
return self._reply_error(bot, update, "Language is not supported. Try with zh, ja or en. (RS03)")
11561156
if update.message.reply_to_message.voice.duration > 60:
11571157
return self._reply_error(bot, update, "Only voice shorter than 60s is supported. (RS04)")
1158-
path, mime = self._download_file(update.message, update.message.reply_to_message.voice.file_id, MsgType.Audio)
1158+
path, mime = self._download_file(update.message, update.message.reply_to_message.voice, MsgType.Audio)
11591159

11601160
results = {}
11611161
if len(args) == 0:

0 commit comments

Comments
 (0)