diff options
Diffstat (limited to 'kvmd/apps/cleanup/__init__.py')
-rw-r--r-- | kvmd/apps/cleanup/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/cleanup/__init__.py b/kvmd/apps/cleanup/__init__.py index b58ff961..3e33d09f 100644 --- a/kvmd/apps/cleanup/__init__.py +++ b/kvmd/apps/cleanup/__init__.py @@ -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 |