Skip to content

Commit

Permalink
[Lint][xs]: Fixed linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sagargg committed Jan 4, 2024
1 parent acd0732 commit 27e9355
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ckanext/noanonaccess/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ def identify(self):
# if not anonymous user then no need to check
if not is_anonoumous_user:
return

current_path = tk.request.path

def _get_blueprint_and_view_function():
Expand Down Expand Up @@ -77,7 +76,7 @@ def _get_blueprint_and_view_function():
"dataset_resource.download", # dataset resource download url
"util.redirect", # Pylons redirect
"package.resource_download", # Pylons resource download url
"error.document"
"error.document",
]

# allow 'dcat' endpoints
Expand Down

0 comments on commit 27e9355

Please sign in to comment.