summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbbangert <none@none>2006-09-04 18:11:24 -0700
committerbbangert <none@none>2006-09-04 18:11:24 -0700
commit402eb9fd1d5c709aad75fdbf06a72d2bc2dc3856 (patch)
tree0ccd931e71b92252cd523614590c60d1ab886650
parentbe5725db10acbd057f664fa467379bd9aba85382 (diff)
downloadroutes-402eb9fd1d5c709aad75fdbf06a72d2bc2dc3856.tar.gz
[svn] Update so that a sub_domain is always set if activated.
--HG-- branch : trunk
-rw-r--r--routes/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/base.py b/routes/base.py
index aca811d..cb274c0 100644
--- a/routes/base.py
+++ b/routes/base.py
@@ -373,7 +373,7 @@ class Route(object):
not self.conditions['function'](environ, result):
return False
- if sub_domain: result['sub_domain'] = sub_domain
+ if sub_domains: result['sub_domain'] = sub_domain
return result
def generate(self, _ignore_req_list=False, **kargs):