From a0518f845f03fc2fcd6a69d4b52813182cdebaaa Mon Sep 17 00:00:00 2001 From: wrench Date: Wed, 29 Nov 2023 00:07:09 +0530 Subject: [PATCH] Bump version to 2.2.4 --- WebStreamer/__init__.py | 2 +- WebStreamer/__main__.py | 4 ---- WebStreamer/server/stream_routes.py | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/WebStreamer/__init__.py b/WebStreamer/__init__.py index 5c357bf7..9f25f5d4 100644 --- a/WebStreamer/__init__.py +++ b/WebStreamer/__init__.py @@ -6,5 +6,5 @@ from .vars import Var from WebStreamer.bot.clients import StreamBot -__version__ = 2.23 +__version__ = "2.2.4" StartTime = time.time() diff --git a/WebStreamer/__main__.py b/WebStreamer/__main__.py index 1ec7dc41..7eed09a1 100644 --- a/WebStreamer/__main__.py +++ b/WebStreamer/__main__.py @@ -26,10 +26,6 @@ server = web.AppRunner(web_server()) -# if sys.version_info[1] > 9: -# loop = asyncio.new_event_loop() -# asyncio.set_event_loop(loop) -# else: loop = asyncio.get_event_loop() diff --git a/WebStreamer/server/stream_routes.py b/WebStreamer/server/stream_routes.py index 3b0234fb..94da4827 100644 --- a/WebStreamer/server/stream_routes.py +++ b/WebStreamer/server/stream_routes.py @@ -32,7 +32,7 @@ async def root_route_handler(_): sorted(work_loads.items(), key=lambda x: x[1], reverse=True) ) ), - "version": __version__, + "version": f"v{__version__}", } )