This commit is contained in:
David Ray 2014-01-16 08:27:29 -05:00
parent f369e1d8ad
commit 18896aa6da

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: