Skip to content

Commit

Permalink
removes event image bool from event json
Browse files Browse the repository at this point in the history
  • Loading branch information
marksilvis committed Dec 7, 2017
1 parent f46403a commit 08b9e7c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pittgrub/db/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,12 +451,6 @@ def json(self, deep: bool=False) -> Dict[str, Any]:
]
}

event_image = EventImage.get_by_id(self.id)
if event_image is not None:
data['image'] = True
else:
data['image'] = False

if self.organizer is not None:
if deep:
data['organizer'] = self.organizer.json(False)
Expand Down

0 comments on commit 08b9e7c

Please sign in to comment.