Ensure rootdir is absolute
This commit is contained in:
1
stack
1
stack
@@ -117,6 +117,7 @@ def run(args):
|
|||||||
if not root_dir:
|
if not root_dir:
|
||||||
print(utils.color_text("No root directory specified!", "red"))
|
print(utils.color_text("No root directory specified!", "red"))
|
||||||
return False
|
return False
|
||||||
|
root_dir = sh.abspth(root_dir)
|
||||||
|
|
||||||
persona_fn = args.pop('persona_fn')
|
persona_fn = args.pop('persona_fn')
|
||||||
if not persona_fn or not sh.isfile(persona_fn):
|
if not persona_fn or not sh.isfile(persona_fn):
|
||||||
|
|||||||
Reference in New Issue
Block a user