Commit b3bddb8c authored by Merret Buurman's avatar Merret Buurman
Browse files

Changed retrieval of defaults (quickndirty workaround).

parent bfbab445
......@@ -9,11 +9,8 @@ except IOError:
LOGGER.info('No config found.')
CONFIG = {}
try:
DEFAULTS = json.loads(open('./landingpage/landingpageapp/defaults.json').read())
except IOError:
msg = 'No default values found.'
LOGGER.error(msg)
#import os
#print(os.getcwd())
raise ValueError(msg)
DEFAULTS = {}
DEFAULTS['globalresolver'] = 'http://hdl.handle.net'
DEFAULTS['path_restapi'] = 'api/handles'
DEFAULTS['special_types'] = ['HS_ADMIN', 'HS_VLIST', 'HS_PUBKEY', 'HS_SECKEY']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment