diff options
author | John Turner <jturner.usa@gmail.com> | 2025-09-20 11:33:04 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2025-09-20 11:33:04 -0400 |
commit | a233026b97182c3e73c7a7fd1dea28f5c747a5e2 (patch) | |
tree | 70754a43d847377510b50301455b53650d188259 | |
parent | 6b842cbaf865c9dce58eb6d90fd0541effec2fe8 (diff) | |
download | pypaste-a233026b97182c3e73c7a7fd1dea28f5c747a5e2.tar.gz |
print start status after pypaste is fully setup
-rw-r--r-- | pypaste/server/__main__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pypaste/server/__main__.py b/pypaste/server/__main__.py index c28a9ba..e2f4ae6 100644 --- a/pypaste/server/__main__.py +++ b/pypaste/server/__main__.py @@ -142,6 +142,8 @@ async def main() -> int: await site.start() + log_info("starting pypaste") + try: await asyncio.Event().wait() except asyncio.exceptions.CancelledError: @@ -154,7 +156,6 @@ async def main() -> int: if __name__ == "__main__": try: - log_info("starting pypaste") sys.exit(asyncio.run(main())) except KeyboardInterrupt: sys.exit(0) |