Merge pull request #13 from DiMartinoXBMC/master

qbit fix
This commit is contained in:
inpos 2016-05-02 13:18:54 +04:00
commit 60d0c40b13
3 changed files with 1255 additions and 644 deletions

3
.idea/modules.xml generated
View File

@ -5,5 +5,4 @@
<module fileurl="file://$PROJECT_DIR$/.idea/plugin.video.torrenter.iml" filepath="$PROJECT_DIR$/.idea/plugin.video.torrenter.iml" />
</modules>
</component>
</project>
</project>

1891
.idea/workspace.xml generated

File diff suppressed because it is too large Load Diff

View File

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