mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 09:13:53 +00:00
Fix no handler could be found for logger
This commit is contained in:
parent
85dfc680fe
commit
c6de8dc713
@ -14,6 +14,7 @@ import six
|
|||||||
|
|
||||||
from spotipy.exceptions import SpotifyException
|
from spotipy.exceptions import SpotifyException
|
||||||
|
|
||||||
|
logging.basicConfig()
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -108,4 +108,4 @@ def get_host_port(netloc, default_port=8080):
|
|||||||
host = netloc
|
host = netloc
|
||||||
port = default_port
|
port = default_port
|
||||||
|
|
||||||
return (host, port)
|
return host, port
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user