summaryrefslogtreecommitdiffstats
path: root/deluge/core/torrentmanager.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/core/torrentmanager.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/core/torrentmanager.py')
-rw-r--r--deluge/core/torrentmanager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py
index 174a92dae..67c4cafd1 100644
--- a/deluge/core/torrentmanager.py
+++ b/deluge/core/torrentmanager.py
@@ -96,7 +96,7 @@ class TorrentState: # pylint: disable=old-style-class
super_seeding=False,
name=None,
):
- # Build the class atrribute list from args
+ # Build the class attribute list from args
for key, value in locals().items():
if key == 'self':
continue
@@ -654,7 +654,7 @@ class TorrentManager(component.Component):
# Resume AlertManager if paused for adding torrent to libtorrent.
component.resume('AlertManager')
- # Store the orignal resume_data, in case of errors.
+ # Store the original resume_data, in case of errors.
if resume_data:
self.resume_data[torrent.torrent_id] = resume_data
@@ -1037,7 +1037,7 @@ class TorrentManager(component.Component):
)
def on_torrent_resume_save(dummy_result, torrent_id):
- """Recieved torrent resume_data alert so remove from waiting list"""
+ """Received torrent resume_data alert so remove from waiting list"""
self.waiting_on_resume_data.pop(torrent_id, None)
deferreds = []