Fix build problem with linux binary package
diff --git a/generator/nanopb_generator.py b/generator/nanopb_generator.py
index 7519905..bf0e815 100755
--- a/generator/nanopb_generator.py
+++ b/generator/nanopb_generator.py
@@ -26,6 +26,12 @@
pass
try:
+ # Make sure grpc_tools gets included in binary package if it is available
+ import grpc_tools.protoc
+except:
+ pass
+
+try:
import google.protobuf.text_format as text_format
import google.protobuf.descriptor_pb2 as descriptor
import google.protobuf.compiler.plugin_pb2 as plugin_pb2