From ce28caa1dbbf7232c060dc3cea6ceef1b6fa407c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Wed, 1 May 2019 10:51:40 +0200 Subject: [PATCH] any tag containing AUDIO/RADIO is now extracted --- delojza.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delojza.py b/delojza.py index 5d48c77..428750a 100755 --- a/delojza.py +++ b/delojza.py @@ -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)'