From e9f69e9df0fd1cd484670af180d64caea53eaa5c Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 28 Feb 2015 22:34:54 +0100 Subject: safe_join -> fs_join --- pyload/plugin/addon/ExternalScripts.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pyload/plugin/addon/ExternalScripts.py') diff --git a/pyload/plugin/addon/ExternalScripts.py b/pyload/plugin/addon/ExternalScripts.py index 139a7e3e7..137003595 100644 --- a/pyload/plugin/addon/ExternalScripts.py +++ b/pyload/plugin/addon/ExternalScripts.py @@ -6,7 +6,7 @@ import subprocess from itertools import chain from pyload.plugin.Addon import Addon -from pyload.utils import safe_join +from pyload.utils import fs_join class ExternalScripts(Addon): @@ -95,14 +95,14 @@ class ExternalScripts(Addon): def downloadFinished(self, pyfile): download_folder = self.config['general']['download_folder'] for script in self.scripts['download_finished']: - filename = safe_join(download_folder, pyfile.package().folder, pyfile.name) + filename = fs_join(download_folder, pyfile.package().folder, pyfile.name) self.callScript(script, pyfile.pluginname, pyfile.url, pyfile.name, filename, pyfile.id) def packageFinished(self, pypack): download_folder = self.config['general']['download_folder'] for script in self.scripts['package_finished']: - folder = safe_join(download_folder, pypack.folder) + folder = fs_join(download_folder, pypack.folder) self.callScript(script, pypack.name, folder, pypack.password, pypack.id) @@ -126,7 +126,7 @@ class ExternalScripts(Addon): def package_extracted(self, pypack): download_folder = self.config['general']['download_folder'] for script in self.scripts['package_extracted']: - folder = safe_join(download_folder, pypack.folder) + folder = fs_join(download_folder, pypack.folder) self.callScript(script, pypack.name, folder, pypack.password, pypack.id) -- cgit v1.2.3