fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use MANAGERS
[wolnelektury.git]
/
apps
/
catalogue
/
management
/
commands
/
checkcovers.py
diff --git
a/apps/catalogue/management/commands/checkcovers.py
b/apps/catalogue/management/commands/checkcovers.py
index
83f2fad
..
ef61702
100644
(file)
--- 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 = []
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():
re_license = re.compile(ur'.*,\s*(CC.*)')
with transaction.commit_on_success():