[codecs] to read file

This commit is contained in:
mzwiessele 2015-10-12 08:55:55 +01:00
parent cc211e64a1
commit 2a34414935

View file

@ -44,7 +44,7 @@ import numpy as np
def read(fname):
import codecs
with codecs.open('README.md', 'r', 'utf-8') as f:
print(f.read())
return f.read()
def read_to_rst(fname):
try: