diff --git a/setup_main_tex_file.py b/setup_main_tex_file.py index b0ffe7d..cceb23a 100755 --- a/setup_main_tex_file.py +++ b/setup_main_tex_file.py @@ -49,9 +49,9 @@ def escape_tex(value): def normalize_branch(args): if 'master' in args: - return path.join('xelatex', path.dirname(args.master).replace('/', '')) + return path.join('xelatex', path.dirname(args.master)) elif 'directory' in args: - return path.join('xelatex', args.directory.replace('/', '')) + return path.join('xelatex', args.directory) else: raise Exception('No sufficient information to create branch')