diff --git a/src/blenderbim/scripts/bbim_translations.py b/src/blenderbim/scripts/bbim_translations.py index 62f87e093c..653eca7ebb 100644 --- a/src/blenderbim/scripts/bbim_translations.py +++ b/src/blenderbim/scripts/bbim_translations.py @@ -1,5 +1,8 @@ try: import bpy + # Ensure it's not fake-bpy-module. + if not hasattr(bpy, "context"): + raise ModuleNotFoundError import bl_i18n_utils import addon_utils