Skip to content

Commit fae3b19

Browse files
author
Karthic Hariharan
committed
Fixing issue with non-ASCII characters in README.rst
1 parent cc8b644 commit fae3b19

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@
4141

4242
ach_file.add_batch('PPD', entries, credits=True, debits=True)
4343

44-
print ach_file.render_to_string()
44+
print(ach_file.render_to_string())

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
from distutils.core import setup
2+
import codecs
3+
4+
readme = codecs.open('README.rst', encoding='utf-8').read()
25

36
setup(
47
name='ach',
@@ -11,5 +14,5 @@
1114
url='https://github.com/travishathaway/python-ach',
1215
license='MIT License',
1316
description='Library to create and parse ACH files (NACHA)',
14-
long_description=open('README.rst').read(),
17+
long_description=readme,
1518
)

0 commit comments

Comments
 (0)