diff options
author | Elmer Miroslav Mosher Golovin <miroslav@mishamosher.com> | 2023-03-28 13:46:30 +0300 |
---|---|---|
committer | Elmer Miroslav Mosher Golovin <miroslav@mishamosher.com> | 2023-03-28 13:46:30 +0300 |
commit | 659ca233ca50048c876627f3a112d20fdc3d90d3 (patch) | |
tree | 6bbffc88c56ecb21b0b85a94a60f450e2beedcae /recording | |
parent | ce6a4bb4f59acde580147de797efd651cf2c9362 (diff) |
Remove double slashes
Signed-off-by: Elmer Miroslav Mosher Golovin <miroslav@mishamosher.com>
Diffstat (limited to 'recording')
-rw-r--r-- | recording/src/nextcloud/talk/recording/BackendNotifier.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recording/src/nextcloud/talk/recording/BackendNotifier.py b/recording/src/nextcloud/talk/recording/BackendNotifier.py index 0cd7b3e66..294e3fc63 100644 --- a/recording/src/nextcloud/talk/recording/BackendNotifier.py +++ b/recording/src/nextcloud/talk/recording/BackendNotifier.py @@ -188,7 +188,7 @@ def uploadRecording(backend, token, fileName, owner): logger.info(f"Upload recording {fileName} to {backend} in {token} as {owner}") - url = backend + '/ocs/v2.php/apps/spreed/api/v1/recording/' + token + '/store' + url = backend.rstrip('/') + '/ocs/v2.php/apps/spreed/api/v1/recording/' + token + '/store' fileContents = None with open(fileName, 'rb') as file: |