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
parent f5a398452e
commit 23c533566f
1 changed files with 1 additions and 1 deletions

View File

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