summaryrefslogtreecommitdiff
path: root/pecan/routing.py
diff options
context:
space:
mode:
Diffstat (limited to 'pecan/routing.py')
-rw-r--r--pecan/routing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pecan/routing.py b/pecan/routing.py
index 58a74c6..1ac825f 100644
--- a/pecan/routing.py
+++ b/pecan/routing.py
@@ -64,8 +64,8 @@ def lookup_controller(obj, remainder, request=None):
# If no arguments are passed to the _lookup, yet the
# argspec requires at least one, raise a 404
if (
- remainder == ['']
- and len(obj._pecan['argspec'].args) > 1
+ remainder == [''] and
+ len(obj._pecan['argspec'].args) > 1
):
raise exc.HTTPNotFound
obj_, remainder_ = result