Skip to content
Snippets Groups Projects
Commit 435d5cb4 authored by Olivier Bertrand's avatar Olivier Bertrand
Browse files

Pseudo fix for F8221

parent 7ba13914
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ Finally we can generate the database. ...@@ -29,7 +29,7 @@ Finally we can generate the database.
import warnings import warnings
try: try:
import bpy import bpy
except ModuleNotFoundError: except ModuleNotFoundError: # noqa F821
warnings.warn( warnings.warn(
'bpy could not be imported, ' + 'bpy could not be imported, ' +
'please run your python program in blender') 'please run your python program in blender')
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
import warnings import warnings
try: try:
import bpy import bpy
except ModuleNotFoundError: except ModuleNotFoundError: # noqa F821
warnings.warn( warnings.warn(
'bpy could not be imported, ' + 'bpy could not be imported, ' +
'please run your python program in blender') 'please run your python program in blender')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment