it is pointless to load sample config

This commit is contained in:
Helena Rasche
2019-04-26 13:27:59 +02:00
parent cb7b26e25e
commit c54bddd3f3
+2 -3
View File
@@ -33,9 +33,8 @@ def main(argv):
with open(args.grt_config) as handle:
config = yaml.safe_load(handle)
except Exception:
logging.warning('Using default GRT configuration')
with open(sample_config) as handle:
config = yaml.safe_load(handle)
logging.error('Could not parse GRT configuration')
sys.exit(1)
REPORT_DIR = args.report_directory
GRT_URL = config['grt']['url'].rstrip('/') + '/'