5822:c61cd6803da2 | 5823:70dfe6a4aa03 |
---|---|
32 if sys.platform.startswith("win"): | 32 if sys.platform.startswith("win"): |
33 cdn = "_eric6" | 33 cdn = "_eric6" |
34 else: | 34 else: |
35 cdn = ".eric6" | 35 cdn = ".eric6" |
36 | 36 |
37 hp = os.path.expanduser("~") | 37 hp = os.path.join(os.path.expanduser("~"), cdn) |
38 hp = os.path.join(hp, cdn) | |
39 if not os.path.exists(hp): | 38 if not os.path.exists(hp): |
40 os.mkdir(hp) | 39 os.mkdir(hp) |
41 return hp | 40 return hp |
42 | 41 |
43 # Define the globals. | 42 # Define the globals. |