fix wrong filename for complete semaphore
This commit is contained in:
parent
0694a2e8c7
commit
2581d85058
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ for i in sorted(glob.glob(fileglob)):
|
||||||
|
|
||||||
# finalize the backup
|
# finalize the backup
|
||||||
key = MyKey(bucket)
|
key = MyKey(bucket)
|
||||||
key.key = '%sCOMPLETE' % filehead
|
key.key = '%sCOMPLETE' % os.path.basename(filehead)
|
||||||
key.set_contents_from_string('%s %s "%s"' % (beginning, time.time(), mesg))
|
key.set_contents_from_string('%s %s "%s"' % (beginning, time.time(), mesg))
|
||||||
key.close()
|
key.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue