aloof-painter-75660
03/30/2017, 6:51 PMos.path.join(os.path.abspath(os.path.dirname(__file__)), TEMPLATE_DIR)))
) the path always starts with the .pex
file as if it were a directory. Resulting in something like: /app/server.pex/data/something
, but server.pex
is not a directory and any open()
call to a file with this directory prefix will cause an IOError.