Hardcode logging path for zephyrs.

(imported from commit c40fc9b67cae201cd2e94033257fb5f43602a5f2)
This commit is contained in:
Tim Abbott 2012-10-29 14:01:51 -04:00
parent a5fc33a738
commit 6b0f5d899f

View file

@ -291,7 +291,7 @@ def zephyr_to_humbug(options):
subs.add(("mail", "inbox", options.user + "@ATHENA.MIT.EDU")) subs.add(("mail", "inbox", options.user + "@ATHENA.MIT.EDU"))
if options.resend_log: if options.resend_log:
with open('zephyrs', 'r') as log: with open('/mit/tabbott/Private/zephyrs', 'r') as log:
for ln in log: for ln in log:
try: try:
zeph = simplejson.loads(ln) zeph = simplejson.loads(ln)
@ -307,7 +307,7 @@ def zephyr_to_humbug(options):
print "%s: zephyr=>humbug: Starting receive loop." % (datetime.datetime.now(),) print "%s: zephyr=>humbug: Starting receive loop." % (datetime.datetime.now(),)
if options.enable_log: if options.enable_log:
log_file = "zephyrs" log_file = "/mit/tabbott/Private/zephyrs"
else: else:
log_file = "/dev/null" log_file = "/dev/null"