Skip to content

Commit

Permalink
Update peas2json.py
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospolop authored Feb 8, 2022
1 parent 68f1cf3 commit ea09bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsers/peas2json.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea09bd5

Please sign in to comment.