From 7edb5ee916ac2fce1e4ab02e6781df0331592207 Mon Sep 17 00:00:00 2001 From: Benjamin Bohard Date: Fri, 29 Jan 2021 15:18:33 +0100 Subject: [PATCH] Keep slash in branch name --- setup_main_tex_file.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')