Fixes Appointment.from_dict()

This commit is contained in:
Sergi Delgado Segura
2019-11-02 21:16:19 -07:00
parent ddb3f26d88
commit 276c0ae0b3

View File

@@ -27,7 +27,7 @@ class Appointment:
hash_function = appointment_data.get("hash_function")
if all([locator, start_time, end_time, dispute_delta, encrypted_blob_data, cipher, hash_function]) is not None:
appointment = cls(locator, start_time, end_time, dispute_delta, EncryptedBlob(encrypted_blob_data), cipher,
appointment = cls(locator, start_time, end_time, dispute_delta, encrypted_blob_data, cipher,
hash_function)
else: