Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas committed Feb 23, 2024
1 parent 805f0ef commit a7f5583
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def settings_post(context, subsystem_id):
upload.upload(max_size=uploader.get_max_resource_size())
except toolkit.ValidationError as e:
return settings_get(context, subsystem_id, e.error_dict, values=data_dict)

file_url = data_dict.get('file_url', '')
if re.match('https?:', file_url) is None:
# File has been updated, so update filename too
Expand Down

0 comments on commit a7f5583

Please sign in to comment.