HWI/hwi.py
Andrew Chow 5b6966af9a Raise an ImportError if hwi.py is being imported
hwilib is the thing to import, not hwi. So give an error if that happens
2019-07-12 19:35:32 -04:00

10 lines
209 B
Python
Executable File

#! /usr/bin/env python3
# Hardware wallet interaction script
if __name__ == '__main__':
from hwilib.cli import main
main()
else:
raise ImportError('hwi is not importable. Import hwilib instead')