diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 85779be..ca7d0d9 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,10 +4,9 @@ - @@ -592,6 +590,7 @@ - \ No newline at end of file diff --git a/mex_functions.py b/mex_functions.py index ed6d717..92c95e2 100644 --- a/mex_functions.py +++ b/mex_functions.py @@ -1,5 +1,5 @@ import configparser - +import os import sounddevice as sd import speech_recognition as sr import soundfile as sf @@ -49,7 +49,7 @@ def printText(text, window): def loadConfig(): config = configparser.ConfigParser() - config.read("~/mex-assistant/config.ini") + config.read(os.path.expanduser("~") + "/mexassistant/config.ini") return config def openDialog(message, dialogType):