any tag containing AUDIO/RADIO is now extracted

feature-unify_handlers
Tomáš Mládek 2019-05-01 10:51:40 +02:00 committed by Tomáš Mládek
parent 4bbe6475b0
commit ce28caa1db
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ class DelojzaBot:
reply += '...'
extract = False
if hashtag in ('AUDIO', 'RADIO') and download_fn != self.download_raw:
if any([tag in hashtag for tag in ('AUDIO', 'RADIO')]) and download_fn != self.download_raw:
extract = True
reply += ' (And also guessing you want to extract the audio)'