From 9402ad0f89de23570d391656c9bdbbc4141a65ca Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Wed, 22 Oct 2014 18:30:04 +0200 Subject: Fixed pip errors --- service/pixelated/config/app_factory.py | 4 ++-- service/pixelated/config/credentials_prompt.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/service/pixelated/config/app_factory.py b/service/pixelated/config/app_factory.py index 6943210b..8d2bcb1c 100644 --- a/service/pixelated/config/app_factory.py +++ b/service/pixelated/config/app_factory.py @@ -78,8 +78,8 @@ def create_app(debug_enabled, app): with app.app_context(): try: leap_session = LeapSession.open(app.config['LEAP_USERNAME'], - app.config['LEAP_PASSWORD'], - app.config['LEAP_SERVER_NAME']) + app.config['LEAP_PASSWORD'], + app.config['LEAP_SERVER_NAME']) except ConnectionError, error: print("Can't connect to the requested provider") sys.exit(1) diff --git a/service/pixelated/config/credentials_prompt.py b/service/pixelated/config/credentials_prompt.py index 34369405..de4095b0 100644 --- a/service/pixelated/config/credentials_prompt.py +++ b/service/pixelated/config/credentials_prompt.py @@ -1,5 +1,6 @@ import getpass + def run(): provider = raw_input('Which provider do you want to connect to:\n') username = raw_input('What\'s your username registered on the provider:\n') -- cgit v1.2.3