summaryrefslogtreecommitdiffstats
path: root/deluge/ui/console/cmdline/commands/rm.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/console/cmdline/commands/rm.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/console/cmdline/commands/rm.py')
-rw-r--r--deluge/ui/console/cmdline/commands/rm.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/deluge/ui/console/cmdline/commands/rm.py b/deluge/ui/console/cmdline/commands/rm.py
index ff3125d81..c34148ac9 100644
--- a/deluge/ui/console/cmdline/commands/rm.py
+++ b/deluge/ui/console/cmdline/commands/rm.py
@@ -70,7 +70,9 @@ class Command(BaseCommand):
def on_removed_finished(errors):
if errors:
- self.console.write('Error(s) occured when trying to delete torrent(s).')
+ self.console.write(
+ 'Error(s) occurred when trying to delete torrent(s).'
+ )
for t_id, e_msg in errors:
self.console.write('Error removing torrent %s : %s' % (t_id, e_msg))