mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-16 08:35:32 +01:00
more pep8 fixes and a typo
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user