Fix cleaned_filename document property

This commit is contained in:
Roberto Rosario
2012-05-21 10:47:45 -04:00
parent ccc26f9566
commit 1c2a89e3e8

View File

@@ -285,7 +285,7 @@ class Document(models.Model):
@property
def cleaned_filename(self):
return unidecode(self.extension_split()[0])
return unidecode(self.extension_split[0])
@property
def extension_split(self):