mirror of
https://github.com/robweber/xbmcbackup.git
synced 2025-06-22 18:53:41 +02:00
added check for key in vfs.py - Thanks Martijn!
This commit is contained in:
@ -101,7 +101,7 @@ def listdir(path, extra_metadata=False):
|
||||
|
||||
jsonobject = json.loads(json_response)
|
||||
|
||||
if jsonobject['result']['files']:
|
||||
if jsonobject.has_key('result') and jsonobject['result']['files']:
|
||||
|
||||
for item in jsonobject['result']['files']:
|
||||
|
||||
|
Reference in New Issue
Block a user