Commit 99b59983 authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Remove trailing slash from path.

parent a4acbe72
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ class VOSImport(RedisRPCClient):
        super(VOSImport, self).__init__(self.host, self.port, self.db, self.rpcQueue)

    def load(self, path, username):
        path = path.rstrip('/')
        importRequest = { "requestType": "NODE_IMPORT", "path": path, "userName": username }
        importResponse = self.call(importRequest)
        if "responseType" not in importResponse: