more pep8 fixes and a typo

This commit is contained in:
dsm1212
2017-01-14 01:20:42 -05:00
parent fa1cb27e04
commit 784ec2927e
2 changed files with 3 additions and 3 deletions

View File

@@ -388,7 +388,7 @@
</div>
</fieldset>
<fieldset id="qbittorrent_options">
<small class="heading"><i class="fa fa-info-circle"></i> Note: Works with WebAPI Rev 6 and later (QBitTorrent 3.4.0 and later) </small>
<small class="heading"><i class="fa fa-info-circle"></i> Note: Works with WebAPI Rev 11 and later (QBitTorrent 3.4.0 and later) </small>
<div class="row">
<label>QBitTorrent Host</label>
<input type="text" name="qbittorrent_host" value="${config['qbittorrent_host']}" size="30">

View File

@@ -138,11 +138,11 @@ class qbittorrentclient(object):
def getfiles(self, hash):
logger.debug('qb.getfiles(%s)' % hash)
return self._command('query/propertiesFiles/'+hash)
return self._command('query/propertiesFiles/' + hash)
def getprops(self, hash):
logger.debug('qb.getprops(%s)' % hash)
return self._command('query/propertiesGeneral/'+hash)
return self._command('query/propertiesGeneral/' + hash)
def setprio(self, hash, priority):
logger.debug('qb.setprio(%s,%d)' % (hash, priority))