Skip to content

Commit

Permalink
fixed the syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
mb-wali committed Oct 15, 2020
1 parent 2df944e commit c08151d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions invenio_config_tugraz/generators.py
Expand Up @@ -209,8 +209,6 @@ def check_permission(self):
# Get user IP
user_ip = request.remote_addr # pragma: no cover
# Checks if the user IP is among single IPs
if (
user_ip in current_app.config["INVENIO_CONFIG_TUGRAZ_SINGLE_IP"]
): # pragma: no cover
if user_ip in current_app.config["INVENIO_CONFIG_TUGRAZ_SINGLE_IP"]: # pragma: no cover
return True # pragma: no cover
return False # pragma: no cover

0 comments on commit c08151d

Please sign in to comment.