Make persona fn have its absolute path

This commit is contained in:
Joshua Harlow 2012-03-16 17:27:30 -07:00
parent 7087cd6ce4
commit 235b33eb20

1
stack
View File

@ -136,6 +136,7 @@ def run(args):
if not persona_fn or not sh.isfile(persona_fn): if not persona_fn or not sh.isfile(persona_fn):
print(utils.color_text("No valid persona file name specified!", "red")) print(utils.color_text("No valid persona file name specified!", "red"))
return False return False
persona_fn = sh.abspth(persona_fn)
# Welcome! # Welcome!
(repeat_string, line_max_len) = utils.welcome(_WELCOME_MAP.get(action)) (repeat_string, line_max_len) = utils.welcome(_WELCOME_MAP.get(action))