diff --git a/.gitignore b/.gitignore index df6b253..8ba42da 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,9 @@ # Miscellaneous -*.class *.log *.pyc *.swp .DS_Store +__pycache__ # venv .venv diff --git a/src/magic_foundation/__init__.py b/src/magic_foundation/__init__.py index b7ae61a..a188c6a 100644 --- a/src/magic_foundation/__init__.py +++ b/src/magic_foundation/__init__.py @@ -10,7 +10,7 @@ from enum import Enum -__version__ = '0.1.5' +__version__ = '0.1.6' __all__ = ('Main', 'Service', 'ServiceStatus', 'ServiceContext') log = logging.getLogger(__name__) @@ -61,7 +61,7 @@ async def coro(): future:concurrent.futures.Future = asyncio.run_coroutine_threadsafe(coro(), self._loop) future.result() else: - log.queue(f"[Queue][{self.label}] put 4 [thread id:{threading.current_thread().ident}] the runloop is closed.") + log.debug(f"[Queue][{self.label}] put 4 [thread id:{threading.current_thread().ident}] the runloop is closed.") async def get(self): return await self._queue.get()