Skip to content

Commit

Permalink
hot fix for relative paths
Browse files Browse the repository at this point in the history
absolute paths were assumed to be used for save paths
  • Loading branch information
Laharah committed Jan 6, 2020
1 parent 67e76a0 commit 7ad6b7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion filebottool/core.py
Expand Up @@ -388,7 +388,8 @@ def _get_full_os_path(save_path, deluge_path):
sp = save_path.split(os.path.sep)
if sp[-1] == '':
sp = sp[:-1]
return os.path.sep.join(sp + deluge_path.split('/'))
combined = os.path.sep.join(sp + deluge_path.split('/'))
return os.path.abspath(combined)

@staticmethod
def _configure_filebot_handler(settings, handler=None):
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__ = "1.2.6"
__version__ = "1.2.7"
__url__ = "https://github.com/Laharah/deluge-FileBotTool"
__license__ = "GPLv3"
__description__ = "Integrates FileBot functionality to Deluge"
Expand Down

0 comments on commit 7ad6b7a

Please sign in to comment.