Skip to content

Commit 4826c8f

Browse files
committed
Fixing replace call
1 parent 9188d76 commit 4826c8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/stashcp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def doWriteBack(source, destination):
5252
scitoken_contents = scitoken_obj.read().strip()
5353

5454
# Remove the stash:// at the beginning, don't need it
55-
destination = destination.replace("stash://")
55+
destination = destination.replace("stash://", "")
5656

5757
command = "curl -X PUT --fail --upload-file %s -H \"Authorization: Bearer %s\" %s%s" % (source, scitoken_contents, writeback_host, destination)
5858

0 commit comments

Comments
 (0)