Commit c6633317 authored by Lars Bittrich's avatar Lars Bittrich

ramancontrol: replaced absolute path with __file__ path

parent 63f87eae
......@@ -23,11 +23,12 @@ import configparser
__all__ = ["RamanControl", "defaultPath", "simulatedRaman"]
defaultPath = os.path.split(__file__)[0]
config = configparser.ConfigParser()'D://Projekte//Gepard//gepard//gepard.cfg') #absolute path to config file, 'gepard.cfg'))
defaultPath = os.path.split(__file__)[0]
defaultPath = config["Defaults"]["file_path"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment