We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2e40e0 commit 3bc4e08Copy full SHA for 3bc4e08
pymysqlreplication/constants/CHARSET.py
@@ -54,7 +54,7 @@ def by_name(self, name, dbms='mysql'):
54
charset_by_id = charsets.by_id
55
56
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'charset_list.csv'), 'r') as f:
57
- f.read() # pass header
+ f.readline() # pass header
58
for line in f:
59
lines = line.split(',')
60
if len(lines) != 5:
0 commit comments