diff options
-rwxr-xr-x | Launcher.py | 12 |
1 files changed, 6 insertions, 6 deletions
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 |