ServiceReference: remove not not construction as this makes no sense
authorlittlesat <littlesat99@yahoo.com>
Thu, 26 Mar 2015 06:40:51 +0000 (07:40 +0100)
committerlittlesat <littlesat99@yahoo.com>
Thu, 26 Mar 2015 06:40:51 +0000 (07:40 +0100)
ServiceReference.py

index 1625542..64c4d6e 100644 (file)
@@ -47,7 +47,7 @@ def getPlayingref(ref):
 
 def isPlayableForCur(ref):
        info = eServiceCenter.getInstance().info(ref)
-       return not not (info and info.isPlayable(ref, getPlayingref(ref)))
+       return info and info.isPlayable(ref, getPlayingref(ref))
 
 def resolveAlternate(ref):
        nref = None