Opened 15 years ago

Closed 15 years ago

#1143 closed bug (Fixed)

[PATCH] deluge-console crashs when autocompleting non-existing dir

Reported by: cdep_illabout Owned by:
Priority: minor Milestone:
Component: Console UI Version: 1.2.0
Keywords: Cc:

Description

deluge-console's add command will cause a crash when tab-completing a directory that does not exist.

For instance, entering this into deluge-console will cause a crash:

add non-existing-dir/some-file[TAB]

add's tab-complete method will try to list the files in "non-existing-dir/", but throw an error because the directory does not exist.

I have attached a (very small) patch to fix the issue.

Attachments (1)

fix-add-command.diff (1.0 KB ) - added by cdep_illabout 15 years ago.
small patch that fixes the tab completion for the add command

Download all attachments as: .zip

Change History (2)

by cdep_illabout, 15 years ago

Attachment: fix-add-command.diff added

small patch that fixes the tab completion for the add command

comment:1 by Calum, 15 years ago

Resolution: fixed
Status: newclosed

Patch applied

Note: See TracTickets for help on using tickets.