--- a/svghmi/svghmi.py Fri Nov 24 14:47:14 2023 +0100
+++ b/svghmi/svghmi.py Fri Nov 24 14:51:27 2023 +0100
@@ -709,12 +709,12 @@
svghmi_root, svghmi_listener, path_list = svghmi_servers["{interface}:{port}"]
- svghmi_root.delEntity('{path}')
+ svghmi_root.delEntity(b'{path}') path_list.remove('{path}')
- svghmi_root.delEntity("ws")
+ svghmi_root.delEntity(b"ws") svghmi_listener.stopListening()
svghmi_servers.pop("{interface}:{port}")