Skip to content
Snippets Groups Projects
Commit 04ea6077 authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Image path var name in upper case letters

parent c7994dff
No related branches found
No related tags found
Loading
......@@ -2,8 +2,10 @@ from .__version__ import version
from os.path import isfile, abspath, join, dirname
image_path = abspath(join(dirname(__file__), "..", "GiBUU.simg"))
if not isfile(image_path):
MODULE_PATH = abspath(join(dirname(__file__), ".."))
IMAGE_PATH = join(MODULE_PATH, "GiBUU.simg")
if not isfile(IMAGE_PATH):
raise EnvironmentError(
"GiBUU image was not found at %s; please run `make build` or `make buildremote`"
% image_path)
% IMAGE_PATH)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment