Skip to content

Commit 7195729

Browse files
committed
__init__.py: apply convention from previous commit, using __package__ instead of __name__
1 parent 7272a7d commit 7195729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
PYLUXCORE_VERSION = '2.10.0a2' # specifies the version of pyluxcore that corresponds to this version of BlendLuxCore
4242

4343
# Check the location of this init file. The init file in the local dev folder returns only 'BlendLuxCore'
44-
am_in_extension = __name__.startswith("bl_ext.")
44+
am_in_extension = __package__.startswith("bl_ext.")
4545

4646
# The environment variable BLC_DEV_PATH can be used to store a path
4747
# to a local BlendLuxCore repository, which will then be imported

0 commit comments

Comments
 (0)