diff --git a/gibberish_detector/config.py b/gibberish_detector/config.py index 3e47254..d80a784 100755 --- a/gibberish_detector/config.py +++ b/gibberish_detector/config.py @@ -9,6 +9,6 @@ CONFIG_PATH = "config.yml" with open(os.path.join(__location__, CONFIG_PATH), 'r') as ymlfile: - cfg = yaml.load(ymlfile) + cfg = yaml.safe_load(ymlfile) # Load the yaml content into this module global variables globals().update(cfg)