Skip to content

Commit

Permalink
template code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
syedhabib39 committed Dec 18, 2024
1 parent 5d34d07 commit 7e0cdc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superagentx_cli/templates/wspipe.py.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ async def main():
await ws_pipe.start()


if __name__ =='__main__':
if __name__ == '__main__':
try:
asyncio.run(main())
except (KeyboardInterrupt, asyncio.CancelledError):
rprint("\nUser canceled the [bold yellow][i]pipe[/i]!"){{'\n'}}
rprint("\nUser canceled the [bold yellow][i]pipe[/i]!"){{'\n'}}

0 comments on commit 7e0cdc6

Please sign in to comment.