From 5fbbb26c00a7de9b5204537f437f808ad4eaac1e Mon Sep 17 00:00:00 2001 From: Harmen Prins Date: Wed, 18 Jun 2014 09:58:22 +0200 Subject: [PATCH] GUI_Options -> GUI --- GUI/configImporter.py | 6 +++--- configuration.cfg | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/GUI/configImporter.py b/GUI/configImporter.py index 622cf1b..e241a3e 100644 --- a/GUI/configImporter.py +++ b/GUI/configImporter.py @@ -11,20 +11,20 @@ class ConfigImporter(): def load_common_attributes(self): """Loads common attributes from the initialized file.""" try: - return self.parser.get('GUI_Options', 'CommonParameters') + return self.parser.get('GUI', 'CommonParameters') except: return 'One, Two, Three' def load_output_types(self): """Loads output types from the initialized file.""" try: - return self.parser.get('GUI_Options', 'OutputTypes') + return self.parser.get('GUI', 'OutputTypes') except: return 'csv' def load_always_attributes(self): """Loads attributes that are always searched for from the initialized file.""" try: - return self.parser.get('GUI_Options', 'AlwaysParameters') + return self.parser.get('GUI', 'AlwaysParameters') except: return 'Name, Weight' diff --git a/configuration.cfg b/configuration.cfg index b00c85d..4d44a1f 100644 --- a/configuration.cfg +++ b/configuration.cfg @@ -1,4 +1,4 @@ -[GUI_Options] +[GUI] # Personalize options in your User Interface # Commonly used parameters are listed in the GUI for easy selection