Skip to content
This repository was archived by the owner on Feb 28, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A simple python package for drawing attractive chemical reaction energy level di

What do I need?
------
`rxnlvl` requires Python 2.x or later.
`rxnlvl` supported Python 2.x and Python3.x.

How do I work it?
------
Expand Down
2 changes: 1 addition & 1 deletion rxnlvl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def deriveBufferedEnergyRange(self, bufsize):

def write(self):
# Determine absolute path
path = os.path.dirname(unicode(__file__,sys.getfilesystemencoding()))
path = os.path.dirname(__file__.encode(sys.getfilesystemencoding()).decode())
svgstring = ''
# Write the preamble for the svg format
svgstring += appendTextFile('{}/dat/svgprefix.frag'.format(str(path)))
Expand Down