Skip to content

Commit

Permalink
[#5152] Yet another unprefixed literal
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Jan 10, 2020
1 parent 203203c commit 6a3f753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/views/resource.py
Expand Up @@ -243,7 +243,7 @@ def post(self, package_type, id):
except ValidationError as e:
errors = e.error_dict
error_summary = e.error_summary
if data.get(u'url_type') == u'upload' and data.get('url'):
if data.get(u'url_type') == u'upload' and data.get(u'url'):
data[u'url'] = u''
data[u'url_type'] = u''
errors[u'previous_upload'] = True
Expand Down

0 comments on commit 6a3f753

Please sign in to comment.