Remove trailing slash from pillar_endpoint for BlenderID Addon 1.1.0

BlenderID Addon 1.1.0 uses endpoint URLs differently, so now directory-
like URLs have to end in a slash.
This commit is contained in:
2016-08-04 12:46:42 +02:00
parent 54ebb0bf5d
commit 2cf400a74c

View File

@@ -256,7 +256,7 @@ async def refresh_pillar_credentials(required_roles: set):
import blender_id
from . import blender
pillar_endpoint = blender.preferences().pillar_server.rstrip('/')
pillar_endpoint = blender.preferences().pillar_server
# Create a subclient token and send it to Pillar.
# May raise a blender_id.BlenderIdCommError