Commit 707c1a4a authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

store upload uses basename if remote name msing

parent 8249ee0f
......@@ -935,7 +935,7 @@ class store_upload(_store_container_command):
def main(self, local_path, container____path__):
super(self.__class__, self).main(container____path__)
remote_path = self.path if self.path else local_path
remote_path = self.path if self.path else path.basename(local_path)
poolsize = self['poolsize']
if poolsize > 0:
self.client.POOL_SIZE = int(poolsize)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment