Ticket #1498: torrent.py-folder-rename.patch

File torrent.py-folder-rename.patch, 490 bytes (added by Hiram, 12 years ago)

Patch file corrects unnecessary forward slashes.

Line 
1*** torrent.py  2011-01-27 22:22:34.880355027 +1000
2--- torrent.py.good     2011-01-27 22:28:29.531019331 +1000
3***************
4*** 889,897 ****
5              log.error("Attempting to rename a folder with an invalid folder name: %s", new_folder)
6              return
7 
8-         if new_folder[-1:] != "/":
9-             new_folder += "/"
10-
11          wait_on_folder = (folder, new_folder, [])
12          for f in self.get_files():
13              if f["path"].startswith(folder):
14--- 889,894 ----