From 9983fdbf1ee1220bdc41250a8d29ea64255e4d51 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 6 Nov 2018 15:33:08 +0100 Subject: [PATCH] layer does not need special case --- pandora/annotation/models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pandora/annotation/models.py b/pandora/annotation/models.py index ce2f3259..333aaf0f 100644 --- a/pandora/annotation/models.py +++ b/pandora/annotation/models.py @@ -369,8 +369,6 @@ class Annotation(models.Model): else: j['place'] = {} - if layer or (keys and 'layer' in keys): - j['layer'] = self.layer if keys and 'item' in keys: j['item'] = self.item.public_id if keys: