__main__.py: stop breaking automat-visualize
This commit is contained in:
parent
eb7c04e366
commit
e260369be1
|
@ -1,7 +1,7 @@
|
||||||
from __future__ import absolute_import, print_function, unicode_literals
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
from .cli import cli
|
if __name__ == "__main__":
|
||||||
|
from .cli import cli
|
||||||
if __name__ != "__main__":
|
cli.wormhole()
|
||||||
raise ImportError('this module should not be imported')
|
else:
|
||||||
|
# raise ImportError('this module should not be imported')
|
||||||
cli.wormhole()
|
pass
|
||||||
|
|
Loading…
Reference in New Issue
Block a user