Opened 12 years ago

Closed 12 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 12 years ago.
small patch that fixes the tab completion for the add command

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by cdep_illabout

small patch that fixes the tab completion for the add command

comment:1 Changed 12 years ago by Cas

  • Resolution set to fixed
  • Status changed from new to closed

Patch applied

Note: See TracTickets for help on using tickets.