Skip to content

Commit c944235

Browse files
committed
Ruff
1 parent a4f3d12 commit c944235

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bittensor/core/dendrite.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,9 @@ def query(
385385
loop = asyncio.get_event_loop()
386386
result = loop.run_until_complete(self.forward(*args, **kwargs))
387387
except Exception as e:
388-
logging.debug(f"Exception encountered while running Dendrite.query initially: {e}")
388+
logging.debug(
389+
f"Exception encountered while running Dendrite.query initially: {e}"
390+
)
389391
new_loop = asyncio.new_event_loop()
390392
asyncio.set_event_loop(new_loop)
391393
result = new_loop.run_until_complete(self.forward(*args, **kwargs))

0 commit comments

Comments
 (0)