Skip to content
This repository has been archived by the owner on Jul 4, 2022. It is now read-only.

Commit

Permalink
allow V subclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
valpackett committed May 17, 2012
1 parent c2395df commit d816f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rapidmachine/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d816f37

Please sign in to comment.