python-trezor/trezorlib/__init__.py
2013-12-16 17:40:25 +01:00

7 lines
225 B
Python

try:
import messages_pb2 as proto
except ImportError:
print "Source messages_pb2.py or types_pb2.py not found. Make sure python-protobuf is installed and run build_pb.sh to generate it."
import sys
sys.exit()