This commit is contained in:
j 2016-06-15 19:13:00 +02:00
parent e3c5ab18c7
commit 70f34bfde9
1 changed files with 1 additions and 1 deletions

View File

@ -1100,7 +1100,7 @@ class Item(models.Model):
self.update_facet(key)
def update_file_paths(self):
for f in item.files.all():
for f in self.files.all():
if f.normalize_path() != f.path:
f.save()