Make Blender ID URL work with live URL too

This commit is contained in:
Sybren A. Stüvel 2017-05-04 18:29:11 +02:00
parent 118de12712
commit 10a40ddabd

View File

@ -259,10 +259,9 @@ def fetch_blenderid_user() -> dict:
""" """
import urllib.parse
import httplib2 # used by the oauth2 package 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) log.debug('Fetching user info from %s', bid_url)
try: try: