소스 검색

[raz] Strip the / in the server url

Romain Rigaux 4 년 전
부모
커밋
bb54cd4009
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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