Skip to content

Commit

Permalink
(core) try to address Windows stdout encoding problems by forcing utf-8
Browse files Browse the repository at this point in the history
  • Loading branch information
amkrajewski committed Feb 13, 2024
1 parent 56a70aa commit e2c9e92
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pysipfenn/core/pysipfenn.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Standard Library Imports
import os
import csv
import json
from time import perf_counter
from typing import List, Union, Dict
from importlib import resources
import os
import io
import sys
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')

# Helper Imports
from tqdm import tqdm
Expand Down

0 comments on commit e2c9e92

Please sign in to comment.