Merge pull request #13 from DiMartinoXBMC/master

qbit fix
pull/16/merge
inpos 2016-05-02 13:18:54 +04:00
commit 60d0c40b13
3 changed files with 1255 additions and 644 deletions

View File

@ -6,4 +6,3 @@
</modules> </modules>
</component> </component>
</project> </project>

File diff suppressed because it is too large Load Diff

View File

@ -1064,7 +1064,10 @@ class qBittorrent:
'uploading': 'seeding', 'uploading': 'seeding',
'stalledUP': 'seeding', 'stalledUP': 'seeding',
} }
if code in mapping:
return mapping[code] return mapping[code]
else:
return 'unknown'
class Deluge: class Deluge: