summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2012-12-05 18:35:44 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2012-12-05 18:35:44 +0000
commit23b0f58eb4d8113bf62eb090f0f0c8f22f637dd5 (patch)
treef81928f5fe1bab2f3d84ada73b2d4a62623a5a8d
parentccd2e5e41d7b0127fc589b1e6bf6560894440ecd (diff)
downloaddeluge-23b0f58eb4d8113bf62eb090f0f0c8f22f637dd5.zip
deluge-23b0f58eb4d8113bf62eb090f0f0c8f22f637dd5.tar.gz
deluge-23b0f58eb4d8113bf62eb090f0f0c8f22f637dd5.tar.bz2
fix snafu in last commit
-rw-r--r--deluge/ui/gtkui/addtorrentdialog.py2
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