diff --git a/pandora/item/models.py b/pandora/item/models.py index 5d7d46e5..1075406e 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -595,7 +595,7 @@ class Item(models.Model): elif i == 'rightslevel': save(i, self.level) elif i == 'filename': - save(i, '\n'.join(i.all_paths())) + save(i, '\n'.join(self.all_paths())) elif i == 'user': if self.user: save(i, self.user.username)