Skip to content

Commit

Permalink
Fix: Filter empty entries from journal protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
Unrud committed Mar 21, 2023
1 parent e8e7091 commit e23f028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radicale/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def _detect_journal(self, stream):
def _encode_journal(data):
msg = b""
for key, value in data.items():
if key is None:
if value is None:
continue
key = key.encode()
value = str(value).encode()
Expand Down

0 comments on commit e23f028

Please sign in to comment.