aboutsummaryrefslogtreecommitdiffstats
path: root/dpd/src/Model_Lut.py
diff options
context:
space:
mode:
Diffstat (limited to 'dpd/src/Model_Lut.py')
-rw-r--r--dpd/src/Model_Lut.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/dpd/src/Model_Lut.py b/dpd/src/Model_Lut.py
index 6d4db52..b349433 100644
--- a/dpd/src/Model_Lut.py
+++ b/dpd/src/Model_Lut.py
@@ -7,8 +7,10 @@
import os
import logging
-
-logging_path = os.path.dirname(logging.getLoggerClass().root.handlers[0].baseFilename)
+try:
+ logging_path = os.path.dirname(logging.getLoggerClass().root.handlers[0].baseFilename)
+except AttributeError:
+ logging_path = None
import numpy as np