Commit dbe16230 authored by Nick Mathewson's avatar Nick Mathewson 🎨
Browse files

r17300@catbus: nickm | 2007-12-21 00:46:35 -0500

 try to fix exception when STATUS_FILE is not configured. Again.


svn:r12893
parent a32c1402
......@@ -142,7 +142,7 @@ def startup(cfg):
for key in ("RUN_IN_DIR", "DB_FILE", "DB_LOG_FILE", "MASTER_KEY_FILE",
"HTTPS_CERT_FILE", "HTTPS_KEY_FILE", "PIDFILE", "LOGFILE",
"STATUS_FILE"):
v = getattr(cfg, key)
v = getattr(cfg, key, None)
if v:
setattr(cfg, key, os.path.expanduser(v))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment