diff --git a/vdiclient.py b/vdiclient.py index 15fcdaa..819f826 100644 --- a/vdiclient.py +++ b/vdiclient.py @@ -70,6 +70,9 @@ def loadconfig(config_location = None): config_location = f'{os.getenv("PROGRAMFILES")}\\VDIClient\\vdiclient.ini' if not os.path.exists(config_location): config_location = f'{os.getenv("PROGRAMFILES(x86)")}\\VDIClient\\vdiclient.ini' + if not os.path.exists(config_location): + # Last ditch effort + config_location = 'C:\\Program Files\\VDIClient\\vdiclient.ini' if not os.path.exists(config_location): win_popup_button(f'Unable to read supplied configuration from any location!', 'OK') return False