mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-23 23:10:59 -04:00
Added configuration option for ignoring messages with invalid stamps
This commit is contained in:
parent
c2881e70e9
commit
042726d27f
4 changed files with 45 additions and 4 deletions
|
@ -152,8 +152,12 @@ class Messages():
|
|||
valid_str = " is valid"
|
||||
sv = msg["extras"]["stamp_value"]
|
||||
if sv == None:
|
||||
sv_str = "was not included in the message"
|
||||
valid_str = ""
|
||||
if "stamp_raw" in msg["extras"]:
|
||||
sv_str = ""
|
||||
valid_str = "is not valid"
|
||||
else:
|
||||
sv_str = ""
|
||||
valid_str = "was not included in the message"
|
||||
elif sv > 255:
|
||||
sv_str = "generated from ticket"
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue