aboutsummaryrefslogtreecommitdiffstats
path: root/EEHPH2.py
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2018-04-12 17:24:28 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2018-04-12 17:24:28 +0100
commitdf12a1d0712ac6a75b06f580cc2b07de4cae83dc (patch)
tree60458e34fb619cb4cff6d428b7e966a9f5c84365 /EEHPH2.py
parent057158c21469dbb32ee57bd329ff6b6260fc7b8e (diff)
downloadeehph2-df12a1d0712ac6a75b06f580cc2b07de4cae83dc.tar.gz
eehph2-df12a1d0712ac6a75b06f580cc2b07de4cae83dc.zip
made the program work with all users and made cleanup script
Diffstat (limited to 'EEHPH2.py')
-rw-r--r--EEHPH2.py2
1 files changed, 1 insertions, 1 deletions
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()