Fix no handler could be found for logger

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

View File

@ -14,6 +14,7 @@ import six
from spotipy.exceptions import SpotifyException
logging.basicConfig()
logger = logging.getLogger(__name__)

View File

@ -108,4 +108,4 @@ def get_host_port(netloc, default_port=8080):
host = netloc
port = default_port
return (host, port)
return host, port