Skip to content

Commit

Permalink
Handle quotes used in path arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
cfculhane committed Jul 13, 2020
1 parent 3bb6d3b commit d12d646
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eyeloop/utilities/argument_parser.py
Expand Up @@ -36,8 +36,8 @@ def __init__(self) -> None:
self.parse_config(self.config)

self.markers = args.markers
self.video = Path(args.video).absolute()
self.output_dir = Path(args.output_dir).absolute()
self.video = Path(args.video.strip("\'\"")).absolute() # Handle quotes used in argument
self.output_dir = Path(args.output_dir.strip("\'\"")).absolute()
self.importer = args.importer.lower()
self.scale = args.scale
self.tracking = args.tracking
Expand Down

0 comments on commit d12d646

Please sign in to comment.