fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add WSGI script, move manage.py to project root.
[redakcja.git]
/
apps
/
cover
/
forms.py
diff --git
a/apps/cover/forms.py
b/apps/cover/forms.py
index
7fc6a33
..
e373a6c
100755
(executable)
--- a/
apps/cover/forms.py
+++ b/
apps/cover/forms.py
@@
-63,7
+63,7
@@
class FlickrForm(forms.Form):
except AssertionError:
raise forms.ValidationError('Error reading license name.')
except AssertionError:
raise forms.ValidationError('Error reading license name.')
- m = re.search(r'<s
trong class="username">By <a href="[^"]*">([^<]*)</a></strong
>', html)
+ m = re.search(r'<s
pan class="photo-name-line-2">([^<]*)</span
>', html)
if m:
self.cleaned_data['author'] = "%s@Flickr" % m.group(1)
else:
if m:
self.cleaned_data['author'] = "%s@Flickr" % m.group(1)
else: