Skip to content

Commit

Permalink
Forgot to change an .encode to .decode
Browse files Browse the repository at this point in the history
  • Loading branch information
warrickball committed Sep 20, 2018
1 parent 8455db0 commit 61593e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tomso/mesa.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def load_profile(filename):
"""

with tomso_open(filename, 'r') as f:
lines = [line.encode('utf-8') for line in f.readlines()]
lines = [line.decode('utf-8') for line in f.readlines()]

header = np.genfromtxt(lines[1:3], names=True)
data = np.genfromtxt(lines[5:], names=True)
Expand Down

0 comments on commit 61593e4

Please sign in to comment.