From 13d3fd46e593563fcf6812dec9198b2aa32b06c0 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 29 Oct 2012 18:23:36 -0400 Subject: [PATCH] zephyr_mirror: Set subject to personal if it is empty. (imported from commit c843199287ab693f9f325ca0216cee59f8accdb3) --- bots/zephyr_mirror.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bots/zephyr_mirror.py b/bots/zephyr_mirror.py index f721a9c..7419f99 100755 --- a/bots/zephyr_mirror.py +++ b/bots/zephyr_mirror.py @@ -266,6 +266,8 @@ def process_notice(notice, log): 'subject' : instance, 'zsig' : zsig, # logged here but not used by app 'content' : body } + if zeph["subject"] == "": + zeph["subject"] = "personal" # Add instances in for instanced personals if zeph['type'] == "personal" and instance != "personal":