Keep slash in branch name
This commit is contained in:
parent
30a6389514
commit
7edb5ee916
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue