diff options
Diffstat (limited to 'pysite/route_manager.py')
-rw-r--r-- | pysite/route_manager.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pysite/route_manager.py b/pysite/route_manager.py index b3f71643..739af726 100644 --- a/pysite/route_manager.py +++ b/pysite/route_manager.py @@ -9,7 +9,7 @@ from flask_sockets import Sockets from pysite.base_route import APIView, BaseView, ErrorView, RouteView from pysite.database import RethinkDB -from pysite.websockets import Websocket +from pysite.websockets import WS TEMPLATES_PATH = "../templates" STATIC_PATH = "../static" @@ -82,10 +82,10 @@ class RouteManager: cls is not ErrorView and cls is not RouteView and cls is not APIView and - cls is not Websocket and + cls is not WS and ( - BaseView in cls.__mro__ or - Websocket in cls.__mro__ + BaseView in cls.__mro__ or + WS in cls.__mro__ ) ): cls.setup(self, blueprint) |