Skip to content

Commit 9709fcb

Browse files
committed
str fix for linux on single file torrent
1 parent ebf7b8e commit 9709fcb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

filebottool/gtkui/rename_dialog_gtk3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def load_treestore(self, treeview, file_data, clear=False, title=None):
209209
for index, path in index_path_pairs:
210210
path_parts = path.split("/")
211211
if len(path_parts) == 1:
212-
model.append(None, [index, path])
212+
model.append(None, [str(index), path])
213213

214214
else: # not a single file, torrent is a folder.
215215
for path_depth in range(len(path_parts)):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
__plugin_name__ = "FileBotTool"
4343
__author__ = "laharah"
4444
__author_email__ = "[email protected]"
45-
__version__ = "2.0.1"
45+
__version__ = "2.0.2"
4646
__url__ = "https://github.com/Laharah/deluge-FileBotTool"
4747
__license__ = "GPLv3"
4848
__description__ = "Integrates FileBot functionality to Deluge"

0 commit comments

Comments
 (0)