fix moveCache

This commit is contained in:
j 2008-10-13 14:19:36 +02:00
parent ef0e6f97af
commit 46da9c491a

View file

@ -478,7 +478,8 @@ class ArchiveFile(SQLObject):
os.rename(join(self.stillFolder_old, f), join(self.stillFolder, f)) 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.mini_movie_file_old, self.mini_movie_file)
os.rename(self.timelineFile_old, self.timelineFile) os.rename(self.timelineFile_old, self.timelineFile)
os.rename(self.posterStillFile_old, self.posterStillFile) if os.path.exists(self.posterStillFile_old):
os.rename(self.posterStillFile_old, self.posterStillFile)
def removeMiniMovie(self): def removeMiniMovie(self):
if exists(self.mini_movie_file): if exists(self.mini_movie_file):