Skip to content

Commit 601ac4c

Browse files
committed
open
1 parent 98b731a commit 601ac4c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

python/setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
with open('README.md') as f:
1717
long_description = f.read()
1818
else:
19-
long_description = io.open('README.md', 'r', encoding="utf-8").read()
19+
with open('README.md', 'r', encoding="utf-8") as f:
20+
long_description = f.read()
21+
# long_description = io.open('README.md', 'r', encoding="utf-8").read()
2022
except Exception as e:
2123
long_description = ""
2224
finally:

0 commit comments

Comments
 (0)