From 276c0ae0b3512e5f7c00e4bc765f79f9e776a969 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Sat, 2 Nov 2019 21:16:19 -0700 Subject: [PATCH] Fixes Appointment.from_dict() --- pisa/appointment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisa/appointment.py b/pisa/appointment.py index 8203977..901da8c 100644 --- a/pisa/appointment.py +++ b/pisa/appointment.py @@ -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: