mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Fix flake8-docstrings D202 No blank lines allowed after function docstring
This commit is contained in:
parent
181675722d
commit
70fa47394e
2 changed files with 0 additions and 2 deletions
|
@ -141,7 +141,6 @@ class DelugeClient(object):
|
||||||
:param username: str, the username to login with
|
:param username: str, the username to login with
|
||||||
:param password: str, the password to login with
|
:param password: str, the password to login with
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Connect transport
|
# Connect transport
|
||||||
self.transfer.connect((host, port))
|
self.transfer.connect((host, port))
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@ class UTorrentClient(object):
|
||||||
|
|
||||||
def _make_opener(self, realm, base_url, username, password):
|
def _make_opener(self, realm, base_url, username, password):
|
||||||
"""uTorrent API need HTTP Basic Auth and cookie support for token verify."""
|
"""uTorrent API need HTTP Basic Auth and cookie support for token verify."""
|
||||||
|
|
||||||
auth_handler = HTTPBasicAuthHandler()
|
auth_handler = HTTPBasicAuthHandler()
|
||||||
auth_handler.add_password(realm=realm,
|
auth_handler.add_password(realm=realm,
|
||||||
uri=base_url,
|
uri=base_url,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue