summaryrefslogtreecommitdiff
path: root/python/typeparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/typeparser.py')
-rw-r--r--python/typeparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/typeparser.py b/python/typeparser.py
index 0d811b50..ab068d78 100644
--- a/python/typeparser.py
+++ b/python/typeparser.py
@@ -341,7 +341,7 @@ class TypeParser(metaclass=_TypeParserMetaclass):
for i in range(includeDirCount):
include_dirs_py.append(core.pyNativeStr(includeDirs[i]))
- auto_type_source = core.pyNativeStr(autoTypeSource)
+ auto_type_source = core.pyNativeStr(autoTypeSource) or ""
(result_py, errors_py) = self.parse_types_from_source(
source_py, file_name_py, platform_py, existing_types_py, options_py,