projects
/
platform
/
upstream
/
crda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25f00ad
)
web bugfix
author
Johannes Berg
<johannes@sipsolutions.net>
Fri, 23 May 2008 12:02:39 +0000
(14:02 +0200)
committer
Johannes Berg
<johannes@sipsolutions.net>
Fri, 23 May 2008 12:02:39 +0000
(14:02 +0200)
web/Regulatory.py
patch
|
blob
|
history
diff --git
a/web/Regulatory.py
b/web/Regulatory.py
index
52cd575
..
9f79693
100644
(file)
--- a/
web/Regulatory.py
+++ b/
web/Regulatory.py
@@
-130,7
+130,7
@@
def macro_Regulatory(macro):
country = request.form.get('alpha2', [None])[0]
dbpath = '/tmp/db.txt'
- if hasattr(
'regdb_path', request.cfg
):
+ if hasattr(
request.cfg, 'regdb_path'
):
dbpath = request.cfg.regdb_path
bpc = DBParser().parse(open(dbpath))