whoops forgot if statement
This commit is contained in:
parent
b6516f2d09
commit
c50930bc11
|
|
@ -305,8 +305,9 @@ class Node:
|
||||||
if not URL_REGEX.match(query) and not re.match(r"(?:ytm?|sc)search:.", query):
|
if not URL_REGEX.match(query) and not re.match(r"(?:ytm?|sc)search:.", query):
|
||||||
query = f"{search_type}:{query}"
|
query = f"{search_type}:{query}"
|
||||||
|
|
||||||
for filter in filters:
|
if filters:
|
||||||
filter.set_preload()
|
for filter in filters:
|
||||||
|
filter.set_preload()
|
||||||
|
|
||||||
if SPOTIFY_URL_REGEX.match(query):
|
if SPOTIFY_URL_REGEX.match(query):
|
||||||
if not self._spotify_client_id and not self._spotify_client_secret:
|
if not self._spotify_client_id and not self._spotify_client_secret:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue