made a small change in the _object_job function in order to have the initial foward slash stripped off an object name when one exits
This commit is contained in:
parent
b6a3767efb
commit
6bd22e7223
@ -1607,6 +1607,8 @@ def st_upload(options, args, print_queue, error_queue):
|
||||
obj = path
|
||||
if obj.startswith('./') or obj.startswith('.\\'):
|
||||
obj = obj[2:]
|
||||
if obj.startswith('/'):
|
||||
obj = obj[1:]
|
||||
put_headers = {'x-object-meta-mtime': str(getmtime(path))}
|
||||
if dir_marker:
|
||||
if options.changed:
|
||||
|
Loading…
Reference in New Issue
Block a user