diff --git a/openplotterSettings/conf.py b/openplotterSettings/conf.py index 48187f0..3c81171 100644 --- a/openplotterSettings/conf.py +++ b/openplotterSettings/conf.py @@ -27,7 +27,7 @@ def __init__(self): except: import pwd self.user = pwd.getpwuid(int(os.environ["PKEXEC_UID"])).pw_name - self.home = '/home/'+self.user + self.home = os.path.expanduser('~'+self.user) self.data_conf = configparser.ConfigParser()