Archived
1
0

GUI_Options -> GUI

This commit is contained in:
Harmen Prins 2014-06-18 09:58:22 +02:00
parent 3dfa75991b
commit 5fbbb26c00
2 changed files with 4 additions and 4 deletions

View File

@ -11,20 +11,20 @@ class ConfigImporter():
def load_common_attributes(self): def load_common_attributes(self):
"""Loads common attributes from the initialized file.""" """Loads common attributes from the initialized file."""
try: try:
return self.parser.get('GUI_Options', 'CommonParameters') return self.parser.get('GUI', 'CommonParameters')
except: except:
return 'One, Two, Three' return 'One, Two, Three'
def load_output_types(self): def load_output_types(self):
"""Loads output types from the initialized file.""" """Loads output types from the initialized file."""
try: try:
return self.parser.get('GUI_Options', 'OutputTypes') return self.parser.get('GUI', 'OutputTypes')
except: except:
return 'csv' return 'csv'
def load_always_attributes(self): def load_always_attributes(self):
"""Loads attributes that are always searched for from the initialized file.""" """Loads attributes that are always searched for from the initialized file."""
try: try:
return self.parser.get('GUI_Options', 'AlwaysParameters') return self.parser.get('GUI', 'AlwaysParameters')
except: except:
return 'Name, Weight' return 'Name, Weight'

View File

@ -1,4 +1,4 @@
[GUI_Options] [GUI]
# Personalize options in your User Interface # Personalize options in your User Interface
# Commonly used parameters are listed in the GUI for easy selection # Commonly used parameters are listed in the GUI for easy selection