mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Fix flake8-docstrings D401 First line should be in imperative mood
This commit is contained in:
parent
73e47466b4
commit
093f49d5aa
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ RPC_EVENT = 3
|
||||||
|
|
||||||
class DelugeClient(object):
|
class DelugeClient(object):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
"""A deluge client session."""
|
"""Create a deluge client session."""
|
||||||
self.transfer = DelugeTransfer()
|
self.transfer = DelugeTransfer()
|
||||||
self.modules = []
|
self.modules = []
|
||||||
self._request_counter = 0
|
self._request_counter = 0
|
||||||
|
@ -134,7 +134,7 @@ class DelugeClient(object):
|
||||||
return response
|
return response
|
||||||
|
|
||||||
def connect(self, host="127.0.0.1", port=58846, username="", password=""):
|
def connect(self, host="127.0.0.1", port=58846, username="", password=""):
|
||||||
"""Connects to a daemon process.
|
"""Connect to a daemon process.
|
||||||
|
|
||||||
:param host: str, the hostname of the daemon
|
:param host: str, the hostname of the daemon
|
||||||
:param port: int, the port of the daemon
|
:param port: int, the port of the daemon
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue