def load_server_key():
    try:
        key_path = settings.PQAUTH_SERVER_KEY
    except AttributeError:
        msg = "You must set settings.PQUATH_SERVER_KEY"
        raise ImproperlyConfigured(msg)

    key_password = None
    try:
        key_password = settings.PQAUTH_SERVER_KEY_PASSWORD
    except __HOLE__:
        pass

    return load_key_file(key_path, key_password)
dataset/ETHPy150Open teddziuba/pqauth/python/pqauth/pqauth_django_server/keys.py/load_server_key