Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 4524c50

Browse files
authored
Update setup.py
fix `UnicodeDecodeError: 'gbk' codec can't decode byte 0x88 in position 16820: illegal multibyte sequence` when install
1 parent 419c90b commit 4524c50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
def main():
1010
"""Cloudflare API code - setup.py file"""
1111

12-
with open('README.md') as read_me:
12+
with open('README.md', encoding="utf-8") as read_me:
1313
long_description = read_me.read()
1414

1515
with open('CloudFlare/__init__.py', 'r') as f:

0 commit comments

Comments
 (0)