Module: deluge
Branch: master
Commit: ce76c278ed0772bae6ccabbbb1ee20700cc00932

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 74eff66..e2df0c9 100644
--- a/deluge/ui/gtkui/addtorrentdialog.py
+++ b/deluge/ui/gtkui/addtorrentdialog.py
@@ -888,7 +888,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.

Reply via email to