From 94d4087aefd0faee3b3c19d3088967468d5cf8a2 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 21 Feb 2013 10:25:39 +0000 Subject: [PATCH] set pdf status to uploaded --- pandora/text/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/text/models.py b/pandora/text/models.py index 8e40b768..63c95efe 100644 --- a/pandora/text/models.py +++ b/pandora/text/models.py @@ -162,7 +162,7 @@ class Text(models.Model): elif hasattr(self, _map.get(key, key)): response[key] = getattr(self, _map.get(key,key)) if self.type == 'pdf': - response['available'] = True if self.file and not self.uploading else False + response['uploaded'] = True if self.file and not self.uploading else False return response def path(self, name=''):