zephyr_mirror: Support empty zsigs.

(imported from commit 6a9fd78d928ebbc9442b3f99d2730f09309556bb)
This commit is contained in:
Tim Abbott 2012-10-19 13:13:52 -04:00
parent 6378e01603
commit dec91dfe8d

View file

@ -195,7 +195,11 @@ def process_loop(log):
continue continue
def process_notice(notice, log): def process_notice(notice, log):
zsig, body = notice.message.split("\x00", 1) try:
zsig, body = notice.message.split("\x00", 1)
except ValueError:
body = notice.message
zsig = ""
is_personal = False is_personal = False
is_huddle = False is_huddle = False