typo
This commit is contained in:
parent
e3c5ab18c7
commit
70f34bfde9
1 changed files with 1 additions and 1 deletions
|
@ -1100,7 +1100,7 @@ class Item(models.Model):
|
||||||
self.update_facet(key)
|
self.update_facet(key)
|
||||||
|
|
||||||
def update_file_paths(self):
|
def update_file_paths(self):
|
||||||
for f in item.files.all():
|
for f in self.files.all():
|
||||||
if f.normalize_path() != f.path:
|
if f.normalize_path() != f.path:
|
||||||
f.save()
|
f.save()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue