1
0
mirror of synced 2024-06-10 20:49:54 +02:00
This commit is contained in:
Yuri Schaeffer 2021-04-28 15:31:05 +02:00 committed by GitHub
commit 2aaa437625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,7 @@ class Protocol():
raise raise
except: except:
raise ProtocolException("FATAL: Invalid field_list specification (%s)" %spec) 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 # Parse options
if opts is not None: if opts is not None: