Skip to content

Commit

Permalink
Fix release build CI failing
Browse files Browse the repository at this point in the history
  • Loading branch information
lasa01 committed Jun 18, 2024
1 parent 8c632b5 commit fa69ef6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plumber/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
version_str += f"-{version_pre}"

# check if imported by setup.py or actually running in Blender
from bpy.app import version as bpy_version
try:
from bpy.app import version as bpy_version
except ImportError:
bpy_version = None

if bpy_version is not None:
is_windows = platform.system() == "Windows"
Expand Down

0 comments on commit fa69ef6

Please sign in to comment.