server/session.py
branchstable
changeset 7330 584907154ce3
parent 7329 f2d52aa8bcdb
child 7340 9303fd71c2ee
child 7349 43416f63eca9
--- a/server/session.py	Fri May 06 18:21:31 2011 +0200
+++ b/server/session.py	Sat May 07 09:37:07 2011 +0200
@@ -65,7 +65,7 @@
     """repository side only selector returning 1 if the session is a regular
     user session and not an internal session
     """
-    return req.is_internal_session
+    return not req.is_internal_session
 
 @objectify_selector
 def is_internal_session(cls, req, **kwargs):