From 76960b40203652787f2f9379dadaf59e72d91ddc Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 30 Sep 2014 13:13:40 +0000 Subject: [PATCH] fix upload --- pandora/item/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/models.py b/pandora/item/models.py index ef86550d3..5c9f4e40e 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -886,7 +886,7 @@ class Item(models.Model): #sort keys based on database, these will always be available s.public_id = self.public_id.replace('0x', 'xx') s.oxdbId = self.oxdbId - if not settings.USE_IMDB: + if not settings.USE_IMDB and s.public_id.isupper() and s.public_id.isalpha(): s.public_id = ox.sort_string(str(ox.fromAZ(s.public_id))) s.modified = self.modified or datetime.now() s.created = self.created or datetime.now()