X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/2d649c8fe8dd70c00c70b83d2f139f6a3fe1d0aa..7319409f3463bce5b12e72a6ba18580ec9a9c029:/apps/cover/forms.py?ds=sidebyside diff --git a/apps/cover/forms.py b/apps/cover/forms.py index 7fc6a33e..e373a6cb 100755 --- 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.') - m = re.search(r'By ([^<]*)', html) + m = re.search(r'([^<]*)', html) if m: self.cleaned_data['author'] = "%s@Flickr" % m.group(1) else: