summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ogClient.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ogClient.py b/src/ogClient.py
index 13a55f4..5fcb1c8 100644
--- a/src/ogClient.py
+++ b/src/ogClient.py
@@ -24,7 +24,10 @@ class State(Enum):
FORCE_DISCONNECTED = 2
class ogClient:
- OG_PATH = '/opt/opengnsys/'
+ if platform.system().lower() == 'linux':
+ OG_PATH = '/opt/opengnsys/ogclient/'
+ else:
+ OG_PATH = './'
def __init__(self, config):
self.CONFIG = config