Skip to content
Browse files

allow V subclasses

  • Loading branch information...
1 parent c2395df commit d816f37b630ea0e4dcaa024c0eddeec05ae9c063 @myfreeweb committed May 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 rapidmachine/app.py
View
2 rapidmachine/app.py
@@ -18,7 +18,7 @@ def match(route, path):
matches = {}
for routepart, pathpart in zip(route, path):
if routepart != pathpart and routepart != "*":
- if type(routepart) == V:
+ if isinstance(routepart, V):
try:
matches[routepart.name] = routepart.typey(pathpart)
except ValueError, e:

0 comments on commit d816f37

Please sign in to comment.
Something went wrong with that request. Please try again.