Module: deluge Branch: 1.3-stable Commit: 23b0f58eb4d8113bf62eb090f0f0c8f22f637dd5
Author: Calum Lind <calumlind+del...@gmail.com> Date: Wed Dec 5 18:35:44 2012 +0000 fix snafu in last commit --- deluge/ui/gtkui/addtorrentdialog.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/ui/gtkui/addtorrentdialog.py b/deluge/ui/gtkui/addtorrentdialog.py index b9c8359..54e86ea 100644 --- a/deluge/ui/gtkui/addtorrentdialog.py +++ b/deluge/ui/gtkui/addtorrentdialog.py @@ -868,7 +868,7 @@ class AddTorrentDialog(component.Component): file_path = os.path.join(self.get_file_path(parent), new_text) # Don't rename if filename exists for row in self.files_treestore[parent].iterchildren(): - if new_text == row[1] and row[3] > -1: + if new_text == row[1]: return if os.path.sep in new_text: # There are folders in this path, so we need to create them -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to deluge-commit@googlegroups.com. To unsubscribe from this group, send email to deluge-commit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.