From 10a40ddabd48fbc5987910535d59f225388f6e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 4 May 2017 18:29:11 +0200 Subject: [PATCH] Make Blender ID URL work with live URL too --- pillar/api/blender_id.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pillar/api/blender_id.py b/pillar/api/blender_id.py index 3fab2fe3..4d849820 100644 --- a/pillar/api/blender_id.py +++ b/pillar/api/blender_id.py @@ -259,10 +259,9 @@ def fetch_blenderid_user() -> dict: """ - import urllib.parse import httplib2 # used by the oauth2 package - bid_url = urllib.parse.urljoin(blender_id_endpoint(), 'api/user') + bid_url = '%s/api/user' % blender_id_endpoint() log.debug('Fetching user info from %s', bid_url) try: