diff --git a/Spectrum2/backend.py b/Spectrum2/backend.py index 36f463b..2fb678b 100644 --- a/Spectrum2/backend.py +++ b/Spectrum2/backend.py @@ -14,7 +14,7 @@ import resource def WRAP(MESSAGE, TYPE): wrap = protocol_pb2.WrapperMessage() wrap.type = TYPE - wrap.payload = MESSAGE + wrap.payload = bytes(MESSAGE) return wrap.SerializeToString() class SpectrumBackend: