diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2021-09-21 21:40:13 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2021-09-21 21:43:53 +0100 |
commit | 1e6cc0394666ae95e9521f1016d07d56a3ed43a5 (patch) | |
tree | 9c4a1cd6da29403c8f14e6f190490ff39ab656ae /deluge/core/torrentmanager.py | |
parent | d8526ba65335bcd48e3f5fa7056081d9a8cd5bd3 (diff) | |
download | deluge-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.py | 6 |
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 = [] |