Skip to content

Commit

Permalink
str fix for linux on single file torrent
Browse files Browse the repository at this point in the history
  • Loading branch information
Laharah committed May 24, 2021
1 parent ebf7b8e commit 9709fcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion filebottool/gtkui/rename_dialog_gtk3.py
Expand Up @@ -209,7 +209,7 @@ def load_treestore(self, treeview, file_data, clear=False, title=None):
for index, path in index_path_pairs:
path_parts = path.split("/")
if len(path_parts) == 1:
model.append(None, [index, path])
model.append(None, [str(index), path])

else: # not a single file, torrent is a folder.
for path_depth in range(len(path_parts)):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -42,7 +42,7 @@
__plugin_name__ = "FileBotTool"
__author__ = "laharah"
__author_email__ = "laharah+fbt@gmail.com"
__version__ = "2.0.1"
__version__ = "2.0.2"
__url__ = "https://github.com/Laharah/deluge-FileBotTool"
__license__ = "GPLv3"
__description__ = "Integrates FileBot functionality to Deluge"
Expand Down

0 comments on commit 9709fcb

Please sign in to comment.