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.lower()
|
||||||
header = header.title()
|
header = header.title()
|
||||||
if header != "Ident":
|
if header != "Ident":
|
||||||
|
header = header.replace("Uuid", "UUID")
|
||||||
header = header.replace("Id", "ID")
|
header = header.replace("Id", "ID")
|
||||||
header = header.replace("id", "ID")
|
header = header.replace("id", "ID")
|
||||||
if header == "Ts":
|
if header == "Ts":
|
||||||
header = "TS"
|
header = "TS"
|
||||||
|
if header == "Match Ts":
|
||||||
|
header = "Match TS"
|
||||||
header = header.replace("Nsfw", "NSFW")
|
header = header.replace("Nsfw", "NSFW")
|
||||||
|
|
||||||
return header
|
return header
|
||||||
|
|
Loading…
Reference in New Issue