Fix no handler could be found for logger

This commit is contained in:
Stephane Bruckert committed 2020-04-11 13:32:23 +01:00
1 parent 85dfc680fe
commit c6de8dc713
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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__)
+1 -1
View File
@@ -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