mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-12-22 14:05:23 +01:00
added check for key in vfs.py - Thanks Martijn!
This commit is contained in:
parent
9ac69e10db
commit
934f9b63e8
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<addon id="script.xbmcbackup"
|
||||
name="XBMC Backup" version="0.1.0" provider-name="robweber">
|
||||
name="XBMC Backup" version="0.1.1" provider-name="robweber">
|
||||
<requires>
|
||||
<import addon="xbmc.python" version="2.0"/>
|
||||
</requires>
|
||||
|
@ -37,3 +37,7 @@ added enable/disable logging toggle in settings
|
||||
[b]Version 0.1.0[/b]
|
||||
|
||||
removed transparency from icon.png
|
||||
|
||||
[b]Version 0.1.1[/b]
|
||||
|
||||
added check for key in vfs.py - Thanks Martijn!
|
@ -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']:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user