fix a warning during tests

This commit is contained in:
Kay0u 2021-01-26 10:39:44 +01:00
parent 48d14f34d2
commit c0e76df229
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -57,7 +57,7 @@ class LDAPServer:
import yaml
with open(os.path.join(HERE, "..", "ldap_files", "ldap_scheme.yml"), "rb") as f:
ldap_map = yaml.load(f)
ldap_map = yaml.safe_load(f)
def _get_ldap_interface():
conf = {