Changed yaml.load into yaml.safe_load (#9841)

pull/9885/head
Adam Cooper 2017-10-13 06:05:33 +01:00 committed by Paulus Schoutsen
parent 586e54f8bf
commit fdb698bef0
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ def load_config(path):
calendars = {}
try:
with open(path) as file:
data = yaml.load(file)
data = yaml.safe_load(file)
for calendar in data:
try:
calendars.update({calendar[CONF_CAL_ID]: