diff options
-rw-r--r-- | ryu/base/app_manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/base/app_manager.py b/ryu/base/app_manager.py index c666f2cb..b39d6cc2 100644 --- a/ryu/base/app_manager.py +++ b/ryu/base/app_manager.py @@ -185,7 +185,7 @@ class AppManager(object): assert not key in self.contexts self.contexts[key] = context # hack for dpset - if context.__class__.__base__ == RyuApp: + if issubclass(context.__class__, RyuApp): register_app(context) return self.contexts |