Updates cli and api accordingly

This commit is contained in:
Sergi Delgado
2019-04-24 16:59:20 +01:00
committed by Sergi Delgado Segura
parent d34b94a858
commit b4d058fc62
4 changed files with 16 additions and 16 deletions

View File

@@ -35,7 +35,7 @@ def manage_request(conn, remote_addr, remote_port, inspector, watcher, debug, lo
command, arg = msg
if command == "add_appointment":
appointment = inspector.inspect(msg, debug)
appointment = inspector.inspect(arg, debug)
if appointment:
appointment_added = watcher.add_appointment(appointment, debug, logging)