summaryrefslogtreecommitdiffstats
path: root/src/ogConfig.py
diff options
context:
space:
mode:
authorJavier Sanchez Parra <jsanchez@soleta.eu>2020-03-20 14:52:20 +0100
committerAlvaro Neira Ayuso <aneira@soleta.eu>2020-03-20 14:53:07 +0100
commit4cd87e987554db0c3105b4717ed07356274ba057 (patch)
treeec579e59dc456315e6f16b5307ddceed611aaf68 /src/ogConfig.py
parentd69841ed97e9f9117dab50233555a9bf30af196b (diff)
Make OG_PATH public
This commit changes the OG_PATH to a public varible of the class ogConfig. This way we improve the configurability of the path.
Diffstat (limited to 'src/ogConfig.py')
-rw-r--r--src/ogConfig.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ogConfig.py b/src/ogConfig.py
index 824c464..d826835 100644
--- a/src/ogConfig.py
+++ b/src/ogConfig.py
@@ -9,6 +9,8 @@
import configparser
class ogConfig:
+ OG_PATH = '/opt/opengnsys/'
+
def __init__(self):
self.parser = configparser.ConfigParser()