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

@ -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>

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: