mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
lint: resolved lint issues
This commit is contained in:
@ -104,9 +104,11 @@ async def main() -> None:
|
||||
logger.error(f"Error during identify push: {str(e)}")
|
||||
print(f"\nError during identify push: {str(e)}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
trio.run(main)
|
||||
|
||||
|
||||
def run_main():
|
||||
"""Non-async entry point for the console script."""
|
||||
trio.run(main)
|
||||
|
||||
Reference in New Issue
Block a user