apper
apper copied to clipboard
Should command imports always be relative?
I got this error in my second apper Add-In despite SampleCommand2 existing:

Then I changed
from commands.SampleCommand2 import SampleCommand2
to
from .commands.SampleCommand2 import SampleCommand2
and it worked (note the dot in front of command.
So maybe this should be in the cookie cutter template?