From 2581d85058e35281144e78d7069f38ef2b8b16c9 Mon Sep 17 00:00:00 2001 From: Ryan Tucker Date: Wed, 6 Jan 2010 22:43:16 -0500 Subject: [PATCH] fix wrong filename for complete semaphore --- BackupPC_archiveHost_s3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BackupPC_archiveHost_s3 b/BackupPC_archiveHost_s3 index f3cf27d..aabf85f 100755 --- a/BackupPC_archiveHost_s3 +++ b/BackupPC_archiveHost_s3 @@ -334,7 +334,7 @@ for i in sorted(glob.glob(fileglob)): # finalize the backup 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.close()