diff --git a/lbry/utils.py b/lbry/utils.py index 75f6c7a58..08b445e1f 100644 --- a/lbry/utils.py +++ b/lbry/utils.py @@ -132,7 +132,7 @@ def json_dumps_pretty(obj, **kwargs): try: # the standard contextlib.aclosing() is available in 3.10+ - from contextlib import aclosing + from contextlib import aclosing # pylint: disable=unused-import except ImportError: @contextlib.asynccontextmanager async def aclosing(thing):