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/torrent.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/torrent.py')
-rw-r--r-- | deluge/core/torrent.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 9dc2d4163..d7dab95bf 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -431,14 +431,14 @@ class Torrent(object): # Setting the priorites for all the pieces of this torrent self.handle.prioritize_pieces(priorities) - def set_sequential_download(self, set_sequencial): + def set_sequential_download(self, sequential): """Sets whether to download the pieces of the torrent in order. Args: - set_sequencial (bool): Enable sequencial downloading. + sequential (bool): Enable sequential downloading. """ - self.options['sequential_download'] = set_sequencial - self.handle.set_sequential_download(set_sequencial) + self.options['sequential_download'] = sequential + self.handle.set_sequential_download(sequential) def set_auto_managed(self, auto_managed): """Set auto managed mode, i.e. will be started or queued automatically. @@ -1393,7 +1393,7 @@ class Torrent(object): This basically does a file rename on all of the folders children. Args: - folder (str): The orignal folder name + folder (str): The original folder name new_folder (str): The new folder name Returns: |