Fix detection of build context when a custom context is used

This commit is contained in:
Morten V. Pedersen 2019-12-18 11:24:32 +01:00 committed by Thomas Nagy
parent ce2e5ca9a2
commit 058b5d3793
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ def patch_execute():
"""
Invoke clangdb command before build
"""
if type(self) == Build.BuildContext:
if isinstance(self, Build.BuildContext):
Scripting.run_command('clangdb')
old_execute_build(self)