Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pyrs/msgs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
""" RsPy::msgs : loading messages """

#check for correct protobuf-version
import pkg_resources
if pkg_resources.get_distribution("protobuf").version != "2.4.1": raise NameError('You need to have google.protobuf in version 2.4.1')
# Message Definitions.
from proto import core_pb2
from proto import peers_pb2
Expand Down