Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Anti-censorship
BridgeDB
Commits
dbe16230
Commit
dbe16230
authored
Dec 21, 2007
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/bridgedb/Main.py
View file @
dbe16230
...
...
@@ -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
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment