Fix lint error lbry/utils.py

This commit is contained in:
Jonathan Moody 2022-04-29 15:39:43 -04:00
parent fad84c771c
commit 530f9c72ea

View file

@ -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):