From 784ec2927e2318a2432307863b83a44264aa27af Mon Sep 17 00:00:00 2001 From: dsm1212 Date: Sat, 14 Jan 2017 01:20:42 -0500 Subject: [PATCH] more pep8 fixes and a typo --- data/interfaces/default/config.html | 2 +- headphones/qbittorrent.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/interfaces/default/config.html b/data/interfaces/default/config.html index cd0bb379..39a962ed 100644 --- a/data/interfaces/default/config.html +++ b/data/interfaces/default/config.html @@ -388,7 +388,7 @@
- Note: Works with WebAPI Rev 6 and later (QBitTorrent 3.4.0 and later) + Note: Works with WebAPI Rev 11 and later (QBitTorrent 3.4.0 and later)
diff --git a/headphones/qbittorrent.py b/headphones/qbittorrent.py index fe82fa30..6fee8d71 100644 --- a/headphones/qbittorrent.py +++ b/headphones/qbittorrent.py @@ -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))