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

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