diff options
author | amartin <olpc@xo-05-28-21.localdomain> | 2007-08-29 07:53:18 (GMT) |
---|---|---|
committer | amartin <olpc@xo-05-28-21.localdomain> | 2007-08-29 07:53:18 (GMT) |
commit | 06077ead3820d6898567d567689d313584857b11 (patch) | |
tree | 9204b3d620aff6062031d5ed60090fdf94251267 /Config.py | |
parent | b929d1b3f6856eb97b19eaeb853002de18d75e02 (diff) |
fixed scratch path
Diffstat (limited to 'Config.py')
-rw-r--r-- | Config.py | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -26,11 +26,6 @@ print 'INFO: loaded TAMTAM_ROOT=%s' % TAM_TAM_ROOT #PATHS -SCRATCH_DIR = TAM_TAM_ROOT + "/.scratch/" -try: # can't add .scratch to git for some reason so make sure it exists here - os.mkdir( SCRATCH_DIR ) -except: - pass SOUNDS_DIR = TAM_TAM_ROOT + "/Resources/Sounds" FILES_DIR = TAM_TAM_ROOT + "/Resources" TUNE_DIR='/' @@ -40,12 +35,21 @@ if SugarMode == True: TUNE_DIR=env.get_profile_path() + '/tamtam/tunes' SYNTH_DIR=env.get_profile_path() + '/tamtam/synthlab' SNDS_DIR=env.get_profile_path() + '/tamtam/snds' + SCRATCH_DIR = PREF_DIR + "/.scratch/" + try: # can't add .scratch to git for some reason so make sure it exists here + os.mkdir( SCRATCH_DIR ) + except: + pass else: PREF_DIR = os.getenv('HOME') + '/.tamtam' TUNE_DIR= os.getenv('HOME') + '/.tamtam/tunes' SYNTH_DIR= os.getenv('HOME') + '/.tamtam/synthlab' SNDS_DIR= os.getenv('HOME') + '/.tamtam/snds' - + SCRATCH_DIR = PREF_DIR + "/.scratch/" + try: # can't add .scratch to git for some reason so make sure it exists here + os.mkdir( SCRATCH_DIR ) + except: + pass #PLUGIN PLUGIN_DEBUG = PREF_DIR + "/clooper.log" |