mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
Fix Logger context bug. (#83)
This commit is contained in:
@@ -70,8 +70,10 @@ class RDAgentLog(SingletonBaseClass):
|
||||
|
||||
# TODO: It may result in error in mutithreading or co-routine
|
||||
self._tag = self._tag + tag
|
||||
yield
|
||||
self._tag = self._tag[: -len(tag)]
|
||||
try:
|
||||
yield
|
||||
finally:
|
||||
self._tag = self._tag[: -len(tag)]
|
||||
|
||||
def get_pids(self) -> str:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user