|
|
|
@ -33,7 +33,7 @@ if __name__ == '__main__':
|
|
|
|
|
# check and load config file
|
|
|
|
|
config = None
|
|
|
|
|
try:
|
|
|
|
|
config = yaml.load(open(args.conf))
|
|
|
|
|
config = yaml.safe_load(open(args.conf))
|
|
|
|
|
except IOError as e:
|
|
|
|
|
print("Error: Could not load config: %s" % (str(e),), file=sys.stderr)
|
|
|
|
|
sys.exit(1)
|
|
|
|
|