arg type check

master
JoYo 2021-12-07 18:35:52 -05:00
parent fa927f40b8
commit 9b61c1b3c7
1 changed files with 3 additions and 2 deletions

View File

@ -34,6 +34,7 @@ def periodical_script():
logging.info(args)
if isinstance(args.eso_live_path, str):
if args.eso_live_path[:2] == "~/":
args.eso_live_path = Path.home().joinpath(args.eso_live_path[2:])