uninstall.py

changeset 5823
70dfe6a4aa03
parent 5711
50b6867ffcd3
child 6048
82ad8ec9548c
--- a/uninstall.py	Fri Jul 28 19:20:41 2017 +0200
+++ b/uninstall.py	Tue Aug 01 15:49:41 2017 +0200
@@ -314,11 +314,9 @@
     """
     if sys.platform.startswith("win"):
         cdn = "_eric6"
-        return os.path.join(os.path.expanduser("~"), cdn)
     else:
         cdn = ".eric6"
-        return os.path.join(
-            os.path.expanduser("~{0}".format(os.getlogin())), cdn)
+    return os.path.join(os.path.expanduser("~"), cdn)
 
 
 def main(argv):

eric ide

mercurial