summaryrefslogtreecommitdiff
path: root/bottle.py
diff options
context:
space:
mode:
Diffstat (limited to 'bottle.py')
-rwxr-xr-xbottle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bottle.py b/bottle.py
index ecd83c5..f7ab2f8 100755
--- a/bottle.py
+++ b/bottle.py
@@ -575,7 +575,7 @@ class Route(object):
callback = plugin(callback)
except RouteReset: # Try again with changed configuration.
return self._make_callback()
- if not callback is self.callback:
+ if callback is not self.callback:
update_wrapper(callback, self.callback)
return callback