main: Ensure the source_dir variable is a string.

This commit is contained in:
Brett Smith 2017-12-30 10:18:33 -05:00
parent 06f5ae9f4c
commit 2c6211c9ea

View file

@ -37,7 +37,7 @@ class FileImporter:
source_vars = {
'source_abspath': in_path.absolute().as_posix(),
'source_absdir': in_path.absolute().parent.as_posix(),
'source_dir': in_path.parent,
'source_dir': in_path.parent.as_posix(),
'source_name': in_path.name,
'source_path': in_path.as_posix(),
'source_stem': in_path.stem,