Skip to content

Commit bf20505

Browse files
authored
Merge pull request #18 from Santandersecurityresearch/daniel_char_encoding
Added validation for char encoding on csv
2 parents 2307e11 + 485c881 commit bf20505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cryptomon/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_tls_from_csv(csv_file):
1616
and the values are the corresponding descriptions.
1717
1818
"""
19-
with open(csv_file, 'r') as file:
19+
with open(csv_file, 'r', encoding='utf-8') as file:
2020
csv_reader = csv.DictReader(file)
2121
data = [row for row in csv_reader]
2222
csuite_dict = {}

0 commit comments

Comments
 (0)