Skip to content
Snippets Groups Projects
Commit 3b116e10 authored by Anders B. Clausen's avatar Anders B. Clausen
Browse files

Now ifelse on type=save instead just else

parent 4cd0c488
No related branches found
No related tags found
2 merge requests!29Release of Prototype,!12Added Docker-compose with Python server and nginx - working. /persistence/...
......@@ -51,7 +51,7 @@ class MyServer(BaseHTTPRequestHandler):
content = payload[10:]
self.handle_load_layout(content)
else:
elif payload.startswith('type=save'):
# remove 'type=save&' from path string
content = payload[10:]
self.handle_save_layout(content)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment