From c710b63ea1e7f55d4670901cefe0ba4410dd9216 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 11 May 2012 14:34:09 +0200 Subject: [PATCH] minor fix in covers check --- apps/catalogue/management/commands/checkcovers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/catalogue/management/commands/checkcovers.py b/apps/catalogue/management/commands/checkcovers.py index 83f2fad8c..ef61702ce 100644 --- a/apps/catalogue/management/commands/checkcovers.py +++ b/apps/catalogue/management/commands/checkcovers.py @@ -44,7 +44,7 @@ class Command(BaseCommand): by_license = defaultdict(list) no_license = [] - re_flickr = re.compile(ur'https?://(?:www.)?flickr.com/photos/([^/]*)/.*') + re_flickr = re.compile(ur'https?://(?:www\.|secure\.)?flickr.com/photos/([^/]*)/.*') re_license = re.compile(ur'.*,\s*(CC.*)') with transaction.commit_on_success(): -- 2.20.1