only move if files exist
This commit is contained in:
parent
0857b631b4
commit
ef866b88d5
1 changed files with 8 additions and 7 deletions
|
|
@ -469,6 +469,7 @@ class ArchiveFile(SQLObject):
|
|||
return f
|
||||
|
||||
def moveCache(self):
|
||||
if os.path.exists(self.mini_movie_file_old):
|
||||
for f in os.walk(self.frameFolder_old):
|
||||
os.rename(join(self.frameFolder_old, f), join(self.frameFolder, f)
|
||||
for f in os.walk(self.sillFolder_old):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue