debugging
This commit is contained in:
parent
3a1b3a5c3c
commit
4a956e2a65
2 changed files with 1 additions and 2 deletions
|
|
@ -800,6 +800,7 @@ class File(db.Model):
|
|||
if os.path.exists(path) and os.path.exists(current_path):
|
||||
os.unlink(path)
|
||||
return
|
||||
logger.debug('mv "%s" "%s"', self.path, new_path)
|
||||
self.path = new_path
|
||||
self.save()
|
||||
for folder in set(os.path.dirname(p) for p in [current_path, path]):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue