Reformat headers for extra rule fields
This commit is contained in:
parent
81c8e34211
commit
1eea401657
|
@ -12,10 +12,13 @@ def format_header(self):
|
|||
header = header.lower()
|
||||
header = header.title()
|
||||
if header != "Ident":
|
||||
header = header.replace("Uuid", "UUID")
|
||||
header = header.replace("Id", "ID")
|
||||
header = header.replace("id", "ID")
|
||||
if header == "Ts":
|
||||
header = "TS"
|
||||
if header == "Match Ts":
|
||||
header = "Match TS"
|
||||
header = header.replace("Nsfw", "NSFW")
|
||||
|
||||
return header
|
||||
|
|
Loading…
Reference in New Issue