Qbittorrent patch 1 (#1711)

qBittorrenHost to qBittorrentHost (#1710)

Co-authored-by: boredazfcuk <boredazfcuk@hotmail.co.uk>
This commit is contained in:
Clinton Hall 2020-01-24 23:05:16 +13:00 committed by GitHub
commit 2a96311d6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View file

@ -191,6 +191,9 @@ class ConfigObj(configobj.ConfigObj, Section):
if option == 'forceClean':
CFG_NEW['General']['force_clean'] = value
values.pop(option)
if option == 'qBittorrenHost': #We had a typo that is now fixed.
CFG_NEW['Torrent']['qBittorrentHost'] = value
values.pop(option)
if section in ['Transcoder']:
if option in ['niceness']:
CFG_NEW['Posix'][option] = value