From 7e25a858d4bf8ec311cc2a4757eb73e73489df63 Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Sun, 10 Feb 2019 10:50:18 +0100 Subject: [PATCH] Fix projector error message --- openslides/utils/projector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/utils/projector.py b/openslides/utils/projector.py index cecdc06e1..5fdaaed71 100644 --- a/openslides/utils/projector.py +++ b/openslides/utils/projector.py @@ -85,7 +85,7 @@ async def get_projector_data( try: data = projector_slide(all_data, element) except ProjectorElementException as err: - data = {"error": err} + data = {"error": str(err)} projector_data[projector_id].append({"data": data, "element": element}) return projector_data