diff --git a/pandora_client/__init__.py b/pandora_client/__init__.py index b4eaf75..7e53fc5 100644 --- a/pandora_client/__init__.py +++ b/pandora_client/__init__.py @@ -297,6 +297,8 @@ class Client(object): self.user = r['data']['user'] else: self.user = False + if DEBUG: + print r print '\nlogin failed! check config\n\n' sys.exit(1) r = self.api.init()