Browse Source

[raz] Strip the / in the server url

Romain Rigaux 4 years ago
parent
commit
bb54cd4009
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/src/desktop/lib/raz/raz_client.py

+ 1 - 1
desktop/core/src/desktop/lib/raz/raz_client.py

@@ -69,7 +69,7 @@ class RazToken:
 class RazClient(object):
 class RazClient(object):
 
 
   def __init__(self, raz_url, raz_token, username, service='s3', service_name='cm_s3', cluster_name='myCluster'):
   def __init__(self, raz_url, raz_token, username, service='s3', service_name='cm_s3', cluster_name='myCluster'):
-    self.raz_url = raz_url
+    self.raz_url = raz_url.strip('/')
     self.raz_token = raz_token
     self.raz_token = raz_token
     self.username = username
     self.username = username
     if service == 's3' or True:  # True until ABFS option
     if service == 's3' or True:  # True until ABFS option