refactoring

This commit is contained in:
Maxim Devaev
2022-06-18 13:10:00 +03:00
parent 53e64fe151
commit b5344a5f3a
4 changed files with 19 additions and 19 deletions

View File

@@ -85,12 +85,12 @@ def main(argv: Optional[List[str]]=None) -> None:
logger = get_logger(0)
logger.info("Cleaning up ...")
for method in [
for func in [
_kill_streamer,
_remove_sockets,
]:
try:
method(config)
func(config)
except Exception:
pass