diff --git a/constance/base.py b/constance/base.py index f5c54b8..396eb4f 100644 --- a/constance/base.py +++ b/constance/base.py @@ -121,9 +121,9 @@ class Config: try: asyncio.get_running_loop() - return AsyncValueProxy(key, self, default) except RuntimeError: return self._get_sync_value(key, default) + return AsyncValueProxy(key, self, default) def __setattr__(self, key, value): if key == "_backend":