Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit fc6598a

Browse files
authored
Set file opening encoding to utf-8
1 parent 989a089 commit fc6598a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def create(
5757
self._checker()
5858

5959
def _checker(self):
60-
file = open(self.filename, errors='ignore')
60+
file = open(self.filename, encoding="utf8" ,errors='ignore')
6161
for line in file.readlines():
6262
loginDetail = self._filterEmailPass(line)
6363
if loginDetail:

0 commit comments

Comments
 (0)