aboutsummaryrefslogtreecommitdiffstats
path: root/cleanup/cleanup.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 /cleanup/cleanup.py
parent057158c21469dbb32ee57bd329ff6b6260fc7b8e (diff)
downloadeehph2-df12a1d0712ac6a75b06f580cc2b07de4cae83dc.tar.gz
eehph2-df12a1d0712ac6a75b06f580cc2b07de4cae83dc.zip
made the program work with all users and made cleanup script
Diffstat (limited to 'cleanup/cleanup.py')
-rw-r--r--cleanup/cleanup.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/cleanup/cleanup.py b/cleanup/cleanup.py
new file mode 100644
index 0000000..4ba20bc
--- /dev/null
+++ b/cleanup/cleanup.py
@@ -0,0 +1,7 @@
+import shutil
+import os
+
+try:
+ shutil.rmtree(os.path.join(os.environ["ALLUSERSPROFILE"], "EEHPH2"))
+except:
+ pass \ No newline at end of file