Skip to content

Commit

Permalink
csv gb2312
Browse files Browse the repository at this point in the history
  • Loading branch information
ZYX committed Jun 29, 2024
1 parent 7460cbd commit 3f9174e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diver.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def select_difficulty(self):
self.click_position([125, 175+int((self.diffi-1)*(605-175)/4)])

def read_csv(self, file_path, name):
with open(file_path, mode='r', newline='') as file:
with open(file_path, mode='r', newline='', encoding='cp936') as file:
reader = csv.reader(file)
next(reader)
if name == 'char':
Expand Down

0 comments on commit 3f9174e

Please sign in to comment.