summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAyush Agrawal2020-01-02 12:51:22 +0530
committerAyush Agrawal2020-01-02 12:51:22 +0530
commit703dccba8fd11c1e5452b9c12ef7fae95277b49c (patch)
tree83c7b3eb85c85dac1f04f4f1c05ff7f37993ac70
parent81d8ca70f0a6d7e6952dd060d3faec6206339f4d (diff)
downloadChemical-Simulator-GUI-703dccba8fd11c1e5452b9c12ef7fae95277b49c.tar.gz
Chemical-Simulator-GUI-703dccba8fd11c1e5452b9c12ef7fae95277b49c.tar.bz2
Chemical-Simulator-GUI-703dccba8fd11c1e5452b9c12ef7fae95277b49c.zip
Corrected Binary-Phase-Env
-rw-r--r--Bin_Phase_env.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bin_Phase_env.py b/Bin_Phase_env.py
index 6bea7c4..31fd766 100644
--- a/Bin_Phase_env.py
+++ b/Bin_Phase_env.py
@@ -94,7 +94,7 @@ class Bin_Phase_env(QWidget,ui_dialog):
try:
self.omhome = os.environ.get('OPENMODELICAHOME')
if self.omhome is None:
- self.omhome = os.path.split(os.path.split(os.path.realpath(spawn.find_executable("omc")))[0])[0]
+ self.omhome = os.path.split(os.path.split(os.path.realpath(spawn.find_executable("omc")))[0])[0]
elif os.path.exists('/opt/local/bin/omc'):
self.omhome = '/opt/local'
elif os.path.exists('/usr/bin/omc'):