From 04ea6077d7dc19b3f3362f97579d44213197fe02 Mon Sep 17 00:00:00 2001
From: Johannes Schumann <johannes.schumann@fau.de>
Date: Thu, 20 Feb 2020 17:36:49 +0100
Subject: [PATCH] Image path var name in upper case letters

---
 km3buu/__init__.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/km3buu/__init__.py b/km3buu/__init__.py
index 95b9af0..b2281c9 100644
--- a/km3buu/__init__.py
+++ b/km3buu/__init__.py
@@ -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)
-- 
GitLab