diff --git a/delojza.py b/delojza.py index f0c3a9c..65536df 100755 --- a/delojza.py +++ b/delojza.py @@ -251,9 +251,8 @@ class DelojzaBot: reply += ' to "' + hashtag + '"' reply += '...' - audio = False - if any([tag in hashtag for tag in ('AUDIO', 'RADIO')]) and download_fn != self.download_raw: - audio = True + audio = any([tag in hashtag for tag in ('AUDIO', 'RADIO')]) + if audio and download_fn != self.download_raw: reply += ' (And also guessing you want to extract the audio)' message.reply_text(reply)