Skip to content

Commit 6d38529

Browse files
committed
Update Logs.py
1 parent 0622411 commit 6d38529

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Logs/Logs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ def log_activity(thread_data, activity_code, ttlog, version, id, peer=False,
101101
if my_data_size is not None:
102102
log["Cleartext_size"] = str(my_data_size) + " bytes"
103103
log["Ciphertext_size"] = str(ciphertext_size) + " bytes"
104+
if ciphertext_size is not None:
105+
log["Ciphertext_size"] = str(ciphertext_size) + " bytes"
104106

105107
ref = db.reference(f"/logs/{get_formatted_id(id)}/activities")
106108
ref.push(log)

0 commit comments

Comments
 (0)