From 99e1447c10951dfe0039a2cf9e4137515b8a4c67 Mon Sep 17 00:00:00 2001 From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de> Date: Wed, 15 Mar 2017 00:59:36 +0100 Subject: [PATCH] add whitespace between network prefixes /close #55 --- views/tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/tables.py b/views/tables.py index 155f61e..a92f832 100644 --- a/views/tables.py +++ b/views/tables.py @@ -212,7 +212,7 @@ class ProtocolTypeTable(SingleValueTable): calendar_part = [] network_part = [ Table.bool(self.value.restrict_networks), - self.value.allowed_networks + ", ".join(map(str.strip, self.value.allowed_networks.split(","))) ] action_part = [Table.link(url_for("delete_type", protocoltype_id=self.value.id), "Löschen", confirm="Bist du dir sicher, dass du den Protokolltype {} löschen möchtest?".format(self.value.name))] if not self.value.has_admin_right(user): -- GitLab