From 129a8cab46d15f185e2208e2954067019aaa3699 Mon Sep 17 00:00:00 2001 From: Benjamin Collet Date: Fri, 13 Sep 2019 15:45:42 +0200 Subject: [PATCH] Fixing YAMLLoadWarning --- ripe-api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ripe-api.py b/ripe-api.py index caf2712..3b0f43e 100755 --- a/ripe-api.py +++ b/ripe-api.py @@ -13,7 +13,7 @@ config = os.path.join(os.path.dirname(os.path.realpath(__file__)),"config.yml") # Read configuration with open(config, 'r') as ymlfile: - cfg = yaml.load(ymlfile) + cfg = yaml.load(ymlfile, Loader=yaml.FullLoader) # Functions