diff options
Diffstat (limited to 'plugin.video.montreal.greek-tv/resources/lib/directory.py')
-rw-r--r-- | plugin.video.montreal.greek-tv/resources/lib/directory.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin.video.montreal.greek-tv/resources/lib/directory.py b/plugin.video.montreal.greek-tv/resources/lib/directory.py index 3ae0b04..eff1fc6 100644 --- a/plugin.video.montreal.greek-tv/resources/lib/directory.py +++ b/plugin.video.montreal.greek-tv/resources/lib/directory.py @@ -23,7 +23,6 @@ import urllib import control - def add(items, cacheToDisc=True, content=None, mediatype=None, infotype='video'): if items is None or len(items) == 0: @@ -127,7 +126,7 @@ def add(items, cacheToDisc=True, content=None, mediatype=None, infotype='video') except: pass - if not content is None: + if content is not None: control.content(int(sys.argv[1]), content) control.directory(int(sys.argv[1]), cacheToDisc=cacheToDisc) |