Skip to content

Commit

Permalink
remove none check on delete
Browse files Browse the repository at this point in the history
  • Loading branch information
n00rsy committed May 4, 2023
1 parent e110fd6 commit 0acdd4f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pybossa/view/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -1209,9 +1209,6 @@ def add_bookmark(user_name, short_name, bookmark_name, bookmark_url, order_by, d


def delete_bookmark(user_name, short_name, bookmark_name, order_by, desc):

if bookmark_name == None:
raise ValueError("Bookmark name not provided.")
bookmark_name = str(bookmark_name)

user = user_repo.get_by_name(name=user_name)
Expand Down

0 comments on commit 0acdd4f

Please sign in to comment.