Skip to content

Commit

Permalink
Handle lower/uppercase of archiving_locations
Browse files Browse the repository at this point in the history
  • Loading branch information
delwen committed Apr 13, 2022
1 parent 0337c78 commit d91a86f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/13_get-oa-permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_parameters(output_formatted):
if not archiving_locations:
inst_repository = None
else:
inst_repository = 'institutional repository' in archiving_locations
inst_repository = 'institutional repository' in [location.lower() for location in archiving_locations]

# What versions can be archived?
versions = best_permission.get("versions")
Expand Down

0 comments on commit d91a86f

Please sign in to comment.