From 209d51371464104569e110c554ddfbf121c06ca1 Mon Sep 17 00:00:00 2001 From: loloof64 Date: Sat, 04 Jun 2011 08:45:41 +0000 Subject: Corrected copy-paste typo in Launcher.py source file --- diff --git a/Launcher.py b/Launcher.py index 525b01b..ce6893c 100755 --- a/Launcher.py +++ b/Launcher.py @@ -104,15 +104,15 @@ class Launcher(activity.Activity): ''' Manages sugar activity resume from entry journal ''' - saves_text_file = open(file_path, 'r') - self.__wrapped_drawing_area.readFiguresFromTextFile(saves_text_file) - saves_text_file.close() + read_text_file = open(file_path, 'r') + self.__wrapped_drawing_area.readFiguresFromTextFile(read_text_file) + read_text_file.close() def write_file(self, file_path): ''' Manages sugar activity journal entry updating ''' self.metadata['mime_type'] = 'application/x-graph' - saves_text_file = open(file_path, 'w') - self.__wrapped_drawing_area.saveFiguresInTextFile(saves_text_file) - saves_text_file.close() \ No newline at end of file + saved_text_file = open(file_path, 'w') + self.__wrapped_drawing_area.saveFiguresInTextFile(saved_text_file) + saved_text_file.close() \ No newline at end of file -- cgit v0.9.1