diff --git a/protocol b/protocol index abbed87..c0e9f56 100755 --- a/protocol +++ b/protocol @@ -131,7 +131,7 @@ class Protocol(): raise except: raise ProtocolException("FATAL: Invalid field_list specification (%s)" %spec) - self.field_list.append({"text":text, "len":bits}) + self.field_list.append({"text":text.strip(), "len":bits}) # Parse options if opts is not None: