diff --git a/.idea/workspace.xml b/.idea/workspace.xml index b553324..62256bd 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,8 +2,8 @@ - - + + @@ -35,53 +35,12 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + @@ -89,7 +48,7 @@ - + @@ -99,7 +58,7 @@ - + @@ -110,17 +69,17 @@ - + - + - - + + @@ -139,7 +98,7 @@ - + @@ -153,23 +112,33 @@ - + - + - + + + + + + + + + + + @@ -202,7 +171,6 @@ @@ -274,6 +243,38 @@ diff --git a/addon.xml b/addon.xml index 97e700d..b9b2b17 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@  - + diff --git a/resources/utorrent/net.py b/resources/utorrent/net.py index 24f8724..b2a58b0 100644 --- a/resources/utorrent/net.py +++ b/resources/utorrent/net.py @@ -903,7 +903,10 @@ class Deluge: if obj is None: return False - res = [obj['result'].get('download_location')] + try: + res = [obj['result'].get('download_location')] + except: + res=[None] return res, res def listfiles(self, id):