Skip to content

Commit

Permalink
remove wrongly added condition
Browse files Browse the repository at this point in the history
  • Loading branch information
tino097 committed May 23, 2018
1 parent ce829fa commit 9c03d1a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ckan/views/admin.py
Expand Up @@ -115,11 +115,8 @@ def post(self):
logic.tuplize_dict(
logic.parse_params(
request.form, ignore_keys=CACHE_PARAMETERS))))
del data_dict['save']
if not request.files:
base.abort(404, _("Upload file not found"))

data_dict.update(request.files.to_dict())
del data_dict['save']
data = logic.get_action(u'config_option_update')({
u'user': g.user
}, data_dict)
Expand Down

0 comments on commit 9c03d1a

Please sign in to comment.