mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 15:08:40 +00:00
fix snafu in last commit
This commit is contained in:
parent
bb5dbecbf2
commit
ce76c278ed
1 changed files with 1 additions and 1 deletions
|
@ -888,7 +888,7 @@ class AddTorrentDialog(component.Component):
|
||||||
file_path = os.path.join(self.get_file_path(parent), new_text)
|
file_path = os.path.join(self.get_file_path(parent), new_text)
|
||||||
# Don't rename if filename exists
|
# Don't rename if filename exists
|
||||||
for row in self.files_treestore[parent].iterchildren():
|
for row in self.files_treestore[parent].iterchildren():
|
||||||
if new_text == row[1] and row[3] > -1:
|
if new_text == row[1]:
|
||||||
return
|
return
|
||||||
if os.path.sep in new_text:
|
if os.path.sep in new_text:
|
||||||
# There are folders in this path, so we need to create them
|
# There are folders in this path, so we need to create them
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue