Changeset 6749


Ignore:
Timestamp:
18/03/10 11:52:13 (9 years ago)
Author:
sdonegan
Message:

Fix bugs in how info from editor.config is picked up ('defualt' changed to 'servers')

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery-OaiInfoEditor/trunk/v3n_NDG3/OAIInfoEditor/oai_info_editor/config/oiemiddleware.py

    r6427 r6749  
    2929       
    3030        self.globals=g 
    31         self.globals.baseUrl = cf.get('DEFAULT', 'baseurl') 
     31        self.globals.baseUrl = cf.get('SERVERS', 'baseurl') 
    3232         
    3333        self.globals.ndgLink=cf.get('layout','ndgLink','http://ndg.nerc.ac.uk') 
     
    4141        self.globals.loadingIcon=cf.get('layout','loadingIcon') 
    4242         
    43         self.globals.server=cf.get('DEFAULT','server','') 
     43        self.globals.server=cf.get('SERVERS','server','') 
    4444        self.globals.toggleJavascript = cf.get('layout','toggleJavascript') 
    4545        self.globals.ndgJavascript = cf.get('layout','ndgJavascript') 
Note: See TracChangeset for help on using the changeset viewer.