Skip to content
Snippets Groups Projects
Commit f51eddef authored by Bob Lantz's avatar Bob Lantz
Browse files

Return controller correctly.

parent 1b69ea13
No related branches found
No related tags found
No related merge requests found
......@@ -1432,7 +1432,7 @@ def findController( controllers=DefaultControllers ):
"Return first available controller from list, if any"
for controller in controllers:
if controller.isAvailable():
return controller( name, **kwargs )
return controller
def DefaultController( name, controllers=DefaultControllers, **kwargs ):
"Find a controller that is available and instantiate it"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment