Skip to content

Fix: Allow rename of addon's folder#6

Open
Irmitya wants to merge 1 commit into
ChristopheSeux:masterfrom
Irmitya:master
Open

Fix: Allow rename of addon's folder#6
Irmitya wants to merge 1 commit into
ChristopheSeux:masterfrom
Irmitya:master

Conversation

@Irmitya

@Irmitya Irmitya commented Aug 31, 2019

Copy link
Copy Markdown

Fixes #4 and #5

@Irmitya

Irmitya commented Aug 31, 2019

Copy link
Copy Markdown
Author

The code uses from .. import __package__, which works.
However, I would "prefer" it use from .. import __package__ as __addon__

Python uses __package__ for things, such as the from . thing.
The reason the code works anyway, is because I inadvertently placed the import below the other relative import.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2.8 Custom shapes not created

1 participant