Skip to content

Commit

Permalink
import fix
Browse files Browse the repository at this point in the history
  • Loading branch information
egeakman committed Mar 23, 2023
1 parent ada0c29 commit 6dfe647
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion mjpeg_streamer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from .mjpeg_streamer import MjpegServer, Stream

__all__ = ["MjpegServer", "Stream"]
__version__ = "2023.3.21"
4 changes: 1 addition & 3 deletions mjpeg_streamer/mjpeg_streamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ def __init__(self, host: str or list = "localhost", port: int = 8080) -> None:
self._port = port
self._app = web.Application()
self._app.is_running = False
self._cap_routes: List[
str,
] = []
self._cap_routes: List[str,] = []

def is_running(self) -> bool:
return self._app.is_running
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from setuptools import find_packages, setup
from mjpeg_streamer import __version__

__version__ = "2023.3.23"

with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
Expand Down

0 comments on commit 6dfe647

Please sign in to comment.