summaryrefslogtreecommitdiffstats
path: root/deluge/ui/client.py
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2021-09-21 21:40:13 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2021-09-21 21:43:53 +0100
commit1e6cc0394666ae95e9521f1016d07d56a3ed43a5 (patch)
tree9c4a1cd6da29403c8f14e6f190490ff39ab656ae /deluge/ui/client.py
parentd8526ba65335bcd48e3f5fa7056081d9a8cd5bd3 (diff)
downloaddeluge-1e6cc0394666ae95e9521f1016d07d56a3ed43a5.tar.gz
deluge-1e6cc0394666ae95e9521f1016d07d56a3ed43a5.tar.bz2
deluge-1e6cc0394666ae95e9521f1016d07d56a3ed43a5.zip
[Lint] Fix spelling mistakes
A quick fix of some of the mistakes caught by codespell. Updated readme with new IRC server Useful to add it as part of linting checks.
Diffstat (limited to 'deluge/ui/client.py')
-rw-r--r--deluge/ui/client.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/deluge/ui/client.py b/deluge/ui/client.py
index 686f962b3..180d8ef2b 100644
--- a/deluge/ui/client.py
+++ b/deluge/ui/client.py
@@ -65,7 +65,7 @@ class DelugeRPCRequest(object):
Returns a properly formatted RPCRequest based on the properties. Will
raise a TypeError if the properties haven't been set yet.
- :returns: a properly formated RPCRequest
+ :returns: a properly formatted RPCRequest
"""
if (
self.request_id is None
@@ -150,7 +150,7 @@ class DelugeRPCProtocol(DelugeTransferProtocol):
# so it could pass back to the 2nd deferred on the chain. But,
# that does not always happen.
# So, just do some instance checking and just log rpc error at
- # diferent levels.
+ # different levels.
r = self.__rpc_requests[request_id]
msg = 'RPCError Message Received!'
msg += '\n' + '-' * 80
@@ -168,7 +168,7 @@ class DelugeRPCProtocol(DelugeTransferProtocol):
# Let's log these as errors
log.error(msg)
else:
- # The rest just get's logged in debug level, just to log
+ # The rest just gets logged in debug level, just to log
# what's happening
log.debug(msg)
except Exception: