fix moveCache
This commit is contained in:
parent
46da9c491a
commit
c018fd69d9
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue