From 159e799a22c630f4c179bd3c4e10f2e3d0edd737 Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Mon, 20 Feb 2012 14:51:05 +0100 Subject: [PATCH] fixed error when saving a new config-value --- openslides/system/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/system/models.py b/openslides/system/models.py index 5e3af1c8d..d50cd5607 100644 --- a/openslides/system/models.py +++ b/openslides/system/models.py @@ -64,7 +64,7 @@ class Config(object): def __setitem__(self, key, value): try: - c = self.config.get(pk=key) + c = ConfigStore.objects.get(pk=key) except ConfigStore.DoesNotExist: c = ConfigStore(pk=key) c.value = dumps(value)