Keep slash in branch name

This commit is contained in:
Benjamin Bohard 2021-01-29 15:18:33 +01:00
parent 30a6389514
commit 7edb5ee916
1 changed files with 2 additions and 2 deletions

View File

@ -49,9 +49,9 @@ def escape_tex(value):
def normalize_branch(args): def normalize_branch(args):
if 'master' in 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: elif 'directory' in args:
return path.join('xelatex', args.directory.replace('/', '')) return path.join('xelatex', args.directory)
else: else:
raise Exception('No sufficient information to create branch') raise Exception('No sufficient information to create branch')