Changeset 329
- Timestamp:
- 08/06/09 01:39:29 (3 years ago)
- File:
-
- 1 edited
-
branches/release/0.2/config.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/release/0.2/config.py
r317 r329 66 66 print "[*] WARNING: Could not get current directory" 67 67 68 if os.environ.get('HOME'): 69 save_path = os.path.join(os.environ.get('HOME'), ".itaka") 68 # Try APPDATA on Windows or $HOME on POSIX 69 if (system == 'nt'): 70 if os.environ.get('APPDATA'): 71 save_path = os.path.join(os.environ.get('APPDATA'), 'itaka') 72 elif os.environ.get('HOME'): 73 save_path = os.path.join(os.environ.get('HOME'), 'itaka') 70 74 else: 71 save_path = os.environ.get('TMP') or os.environ.get('TEMP') 75 if os.environ.get('HOME'): 76 save_path = os.path.join(os.environ.get('HOME'), '.itaka') 72 77 73 78 #: Availability of libnotify
Note: See TracChangeset
for help on using the changeset viewer.

