Return empty dict if there is no config file

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-07-11 01:31:37 -04:00
parent 516c3aeb2c
commit 3fab5c1427

View File

@@ -56,7 +56,7 @@ def read_configuration_file(path):
)
except IOError as exception:
if exception.errno == errno.ENOENT:
pass
return {} # No config file, return empty dictionary
else:
raise