diff options
author | Roald de Vries <rdevries@thoughtworks.com> | 2016-11-29 11:40:21 +0100 |
---|---|---|
committer | Roald de Vries <rdevries@thoughtworks.com> | 2016-11-29 11:40:21 +0100 |
commit | cec3cbf731f0e56cb96de27a070bdaf72e985eb0 (patch) | |
tree | 844498df72d42fc64ef4baaca913b7f6def6a63a | |
parent | 0bb7304f7cb87aed31f588bf40ae0a7fd949c2ba (diff) |
root resource inherits from public root
-rw-r--r-- | service/pixelated/resources/root_resource.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/service/pixelated/resources/root_resource.py b/service/pixelated/resources/root_resource.py index e5b4227f..0788ffb1 100644 --- a/service/pixelated/resources/root_resource.py +++ b/service/pixelated/resources/root_resource.py @@ -42,12 +42,15 @@ logger = Logger() class PublicRootResource(BaseResource): - pass + + def __init__(self, services_factory): + BaseResource.__init__(self, services_factory) class RootResource(PublicRootResource): + def __init__(self, services_factory): - BaseResource.__init__(self, services_factory) + PublicRootResource.__init__(self, services_factory) self._assets_folder = self._get_assets_folder() self._startup_assets_folder = self._get_startup_folder() self._static_folder = self._get_static_folder() |