diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/pixelated/resources/auth.py | 2 | ||||
-rw-r--r-- | service/test/unit/resources/test_attachments_resource.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/service/pixelated/resources/auth.py b/service/pixelated/resources/auth.py index e2e7ec97..02729a01 100644 --- a/service/pixelated/resources/auth.py +++ b/service/pixelated/resources/auth.py @@ -84,7 +84,7 @@ class SessionChecker(object): def requestAvatarId(self, credentials): session = self.get_session(credentials.request) if session.is_logged_in() and self._services_factory.is_logged_in(session.user_uuid): - return defer.succeed(session.user_uuid) + return defer.succeed(session.user_uuid) return defer.succeed(ANONYMOUS) def get_session(self, request): diff --git a/service/test/unit/resources/test_attachments_resource.py b/service/test/unit/resources/test_attachments_resource.py index 96677cf4..2aeeb01e 100644 --- a/service/test/unit/resources/test_attachments_resource.py +++ b/service/test/unit/resources/test_attachments_resource.py @@ -11,6 +11,7 @@ from pixelated.application import UserAgentMode from pixelated.resources.attachments_resource import AttachmentsResource from test.unit.resources import DummySite +logging.basicConfig(level=logging.CRITICAL) logging.getLogger('pixelated.resources.attachments_resource').addHandler(logging.NullHandler()) |