From 0d5c9680269e3493dc979573bf9b04207e7bf2a7 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 20 Feb 2016 10:39:23 +0000 Subject: [PATCH] space --- pandora/edit/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora/edit/models.py b/pandora/edit/models.py index e39d5805..1d58f7cc 100644 --- a/pandora/edit/models.py +++ b/pandora/edit/models.py @@ -192,7 +192,7 @@ class Edit(models.Model): elif key == 'rightslevel': self.rightslevel = int(data['rightslevel']) if key == 'query' and not data['query']: - setattr(self, key, {"static":True}) + setattr(self, key, {"static": True}) elif key == 'query' and isinstance(data[key], dict): setattr(self, key, data[key]) @@ -205,7 +205,7 @@ class Edit(models.Model): pos.save() if 'type' in data: if data['type'] == 'static': - self.query = {"static":True} + self.query = {"static": True} self.type = 'static' else: self.type = 'smart'