0a1,3 > import shutil > import os > 11c14,17 < script_path = self.current_dir + '/python/' + script --- > if script[0] == '/': > script_path = script > else: > script_path = self.current_dir + '/python/' + script 12a19,29 > if kwargs.get('isolation') and kwargs['isolation'].get('rootfs'): > rootfs = kwargs['isolation']['rootfs'] > > if not os.path.exists(rootfs + '/app/python/'): > os.makedirs(rootfs + '/app/python/') > > if not os.path.exists(rootfs + '/app/python/' + name): > shutil.copytree(script_path, rootfs + '/app/python/' + name) > > script_path = '/app/python/' + name >