From f8a100b8dcb9d27e7ed63f37c1a496df6e723302 Mon Sep 17 00:00:00 2001 From: Rohan Rangray Date: Sat, 16 May 2015 03:35:06 -0700 Subject: [PATCH] Undid the last change. It was converting the list to a python-readable format so it wasn't wrong. --- flashcards/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flashcards/fields.py b/flashcards/fields.py index 016edc7..c3b124e 100644 --- a/flashcards/fields.py +++ b/flashcards/fields.py @@ -40,7 +40,7 @@ class MaskField(models.Field): def to_python(self, value): if value is None: return value - return sorted(map(list, FlashcardMask(value))) + return sorted(list(FlashcardMask(value))) def get_prep_value(self, value): if value is None: -- 1.9.1