From 02075457b8ebff957e1bb67ec1ac43ad623ba143 Mon Sep 17 00:00:00 2001
From: Johannes Schumann <johannes.schumann@fau.de>
Date: Mon, 23 Nov 2020 14:04:39 +0100
Subject: [PATCH] Add default value for temporary folder to proposal
 interpolation tables

---
 km3buu/config.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/km3buu/config.py b/km3buu/config.py
index f490093..e4d5acf 100644
--- a/km3buu/config.py
+++ b/km3buu/config.py
@@ -90,7 +90,8 @@ class Config(object):
 
     @property
     def proposal_itp_tables(self):
-        return self.get(PROPOSAL_SECTION, "itp_table_path")
+        default_path = abspath(join(dirname(__file__), "../.tables"))
+        return self.get(PROPOSAL_SECTION, "itp_table_path", default_path)
 
     @proposal_itp_tables.setter
     def proposal_itp_tables(self, value):
-- 
GitLab