From df12a1d0712ac6a75b06f580cc2b07de4cae83dc Mon Sep 17 00:00:00 2001 From: jwansek Date: Thu, 12 Apr 2018 17:24:28 +0100 Subject: made the program work with all users and made cleanup script --- EEHPH2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'EEHPH2.py') diff --git a/EEHPH2.py b/EEHPH2.py index 3b99549..d5915d5 100644 --- a/EEHPH2.py +++ b/EEHPH2.py @@ -2,7 +2,7 @@ import sys import os def find_location(): - filelocation = os.path.join(os.getenv("LOCALAPPDATA"), "EEPHPH2", "location.txt") + filelocation = os.path.join(os.environ['ALLUSERSPROFILE'], "EEHPH2", "location.txt") file = open(filelocation, "r") applocation = file.readline() file.close() -- cgit v1.2.3