[cli] switch halfapi import to relative imports in cli.py
This commit is contained in:
parent
c41d0d8f8f
commit
0a34948b98
@ -23,9 +23,9 @@ def cli(ctx, version):
|
|||||||
return click.echo(version())
|
return click.echo(version())
|
||||||
|
|
||||||
if IS_PROJECT:
|
if IS_PROJECT:
|
||||||
import halfapi.cli.config
|
from . import config
|
||||||
import halfapi.cli.domain
|
from . import domain
|
||||||
import halfapi.cli.run
|
from . import run
|
||||||
|
|
||||||
else:
|
else:
|
||||||
import halfapi.cli.init
|
from . import init
|
||||||
|
Loading…
Reference in New Issue
Block a user