Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
minor updates after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreycwitt committed Nov 11, 2019
1 parent ee38329 commit 5047a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def process_resource():
resource_url = request.args.get("url")
if not resource_id and not resource_url:
error_message = {
"error": "One of the parameters 'id' and 'url' must be given. 'id' must container an SCTA resource id, e.g. scta.info/resource/lectio1. 'url' must contain an http reference to an XML file,$
"error": "One of the parameters 'id' and 'url' must be given. 'id' must container an SCTA resource id, e.g. scta.info/resource/lectio1. 'url' must contain an http reference to an XML file"
}
return jsonify(error_message)
elif resource_id and resource_url:
Expand Down

0 comments on commit 5047a6c

Please sign in to comment.