Skip to content

Commit

Permalink
Fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nick42d authored Aug 5, 2023
1 parent e8cd2a7 commit 853abbf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ytmusicapi/mixins/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,9 @@ def search(self,
"uploads. ")

if scope == scopes[0] and filter in filters[3:5]:
raise Exception(
f"{filter} cannot be set when searching library. "
f"Please use one of the following filters or leave out the parameter: "
+ ', '.join(filters[0:3]+filters[5:]))
raise Exception(f"{filter} cannot be set when searching library. "
f"Please use one of the following filters or leave out the parameter: "
+ ', '.join(filters[0:3]+filters[5:]))

params = get_search_params(filter, scope, ignore_spelling)
if params:
Expand Down

0 comments on commit 853abbf

Please sign in to comment.