fix moveCache

This commit is contained in:
j 2008-10-13 14:21:13 +02:00
parent 46da9c491a
commit c018fd69d9

View file

@ -476,8 +476,10 @@ class ArchiveFile(SQLObject):
for folder, folders, files in os.walk(self.stillFolder_old):
for f in files:
os.rename(join(self.stillFolder_old, f), join(self.stillFolder, f))
os.rename(self.mini_movie_file_old, self.mini_movie_file)
os.rename(self.timelineFile_old, self.timelineFile)
if os.path.exists(self.mini_movie_file_old):
os.rename(self.mini_movie_file_old, self.mini_movie_file)
if os.path.exists(self.timelineFile_old):
os.rename(self.timelineFile_old, self.timelineFile)
if os.path.exists(self.posterStillFile_old):
os.rename(self.posterStillFile_old, self.posterStillFile)