From 82ef970e33abaa0f463b6f6b9582b8b3d5b9586c Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 31 May 2013 13:47:11 +0000 Subject: [PATCH] canSeeMedia --- pandora/item/managers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/managers.py b/pandora/item/managers.py index f760aeceb..4ced3904e 100644 --- a/pandora/item/managers.py +++ b/pandora/item/managers.py @@ -63,7 +63,7 @@ def parseCondition(condition, user): if (not exclude and op == '=' or op in ('$', '^')) and v == '': return Q() elif k == 'filename' and (user.is_anonymous() or \ - not user.get_profile().capability('canSeeFiles')): + not user.get_profile().capability('canSeeMedia')): return Q(id=0) elif k == 'oshash': return Q(files__oshash=v)