mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 14:14:22 +01:00
Several fixes from PR review
This commit is contained in:
@@ -40,10 +40,7 @@ def add_appointment():
|
||||
|
||||
if appointment_added:
|
||||
rcode = HTTP_OK
|
||||
response = {
|
||||
"locator": appointment.locator,
|
||||
"signature": hexlify(signature).decode('utf-8')
|
||||
}
|
||||
response = {"locator": appointment.locator, "signature": hexlify(signature).decode('utf-8')}
|
||||
else:
|
||||
rcode = HTTP_SERVICE_UNAVAILABLE
|
||||
error = "appointment rejected"
|
||||
|
||||
Reference in New Issue
Block a user