mirror of
https://github.com/carlospolop/PEASS-ng
synced 2025-04-01 08:19:19 +02:00
Update peas2json.py
This commit is contained in:
parent
68f1cf35b5
commit
ea09bd5f3a
@ -145,7 +145,7 @@ def parse_line(line: str):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
for line in open(OUTPUT_PATH, 'r').readlines():
|
for line in open(OUTPUT_PATH, 'r', encoding="utf8").readlines():
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
if not line or not clean_colors(line): #Remove empty lines or lines just with colors hex
|
if not line or not clean_colors(line): #Remove empty lines or lines just with colors hex
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user