diff options
author | Nat <natcl@hotmail.com> | 2007-06-25 21:48:18 (GMT) |
---|---|---|
committer | Nat <natcl@hotmail.com> | 2007-06-25 21:48:18 (GMT) |
commit | 063d42edf15315145e17533bf1f72d5884d439f3 (patch) | |
tree | a63eebe52b2bc70153251e3c605c8760ff121f18 /TamTam.py | |
parent | 2d04fa9dbbab25de9e7c059999b9904ecad93eb0 (diff) |
Tentative load/save in Journal
Diffstat (limited to 'TamTam.py')
-rwxr-xr-x | TamTam.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -206,6 +206,13 @@ class TamTam(Activity): for snd in ['mic1','mic2','mic3','mic4','lab1','lab2','lab3','lab4', 'lab5', 'lab6']: shutil.copyfile(Config.SOUNDS_DIR + '/' + snd , Config.PREF_DIR + '/' + snd) os.system('chmod 0777 ' + Config.PREF_DIR + '/' + snd + ' &') + + def read_file(self,file_path): + if self.modeList['edit']: + self.modeList['edit'].handleJournalLoad(file_path) + def write_file(self,file_path): + if self.modeList['edit']: + self.modeList['edit'].handleJournalSave(file_path) if __name__ == "__main__": |