Fix auth sanity check
This commit is contained in:
parent
e2411e7023
commit
8f4dfd19ee
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ class YTMusic(BrowsingMixin, WatchMixin, LibraryMixin, PlaylistsMixin, UploadsMi
|
||||||
return response_text
|
return response_text
|
||||||
|
|
||||||
def _check_auth(self):
|
def _check_auth(self):
|
||||||
if self.auth == "":
|
if not self.auth:
|
||||||
raise Exception("Please provide authentication before using this function")
|
raise Exception("Please provide authentication before using this function")
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue