1
mirror of https://github.com/carlospolop/PEASS-ng synced 2024-11-20 12:39:21 +01:00

Update peas2json.py

This commit is contained in:
Carlos Polop 2022-02-08 01:40:50 +00:00 committed by GitHub
parent 68f1cf35b5
commit ea09bd5f3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,7 +145,7 @@ def parse_line(line: str):
def main():
for line in open(OUTPUT_PATH, 'r').readlines():
for line in open(OUTPUT_PATH, 'r', encoding="utf8").readlines():
line = line.strip()
if not line or not clean_colors(line): #Remove empty lines or lines just with colors hex
continue