__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 .cli import cli
|
||||
|
||||
if __name__ != "__main__":
|
||||
raise ImportError('this module should not be imported')
|
||||
|
||||
cli.wormhole()
|
||||
if __name__ == "__main__":
|
||||
from .cli import cli
|
||||
cli.wormhole()
|
||||
else:
|
||||
# raise ImportError('this module should not be imported')
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue
Block a user