This commit is contained in:
David Ray 2014-01-16 08:28:45 -05:00
parent c8087ec233
commit 0163ded85b

View file

@ -8,7 +8,7 @@ import symposion
def read_file(filename):
"""Read a file into a string."""
path = os.path.abspath(os.path.dirname(__file__))
filepath = os.path.ojoin(path, filename)
filepath = os.path.join(path, filename)
try:
return open(filepath).read()
except IOError: