Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelboca committed Mar 28, 2023
1 parent 5407168 commit 85ae745
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/harvest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,8 +686,8 @@ def clear_view(id):
def delete_view(id):
try:
context = {'model': model, 'user': tk.c.user}
clear = tk.request.args.get('clear','').lower()
context['clear_source'] = clear in ('true','1',)
clear = tk.request.args.get('clear', '').lower()
context['clear_source'] = clear in ('true', '1', )

tk.get_action('harvest_source_delete')(context, {'id': id})

Expand Down

0 comments on commit 85ae745

Please sign in to comment.