summaryrefslogtreecommitdiff
path: root/kvmd/apps
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-01-06 05:04:29 +0300
committerMaxim Devaev <[email protected]>2022-01-06 05:04:29 +0300
commita67c20be2950bb59f72e44a5a5c92fa8cbaaa920 (patch)
tree3657d82b384f61b25a863cabe5b858ef942cb56f /kvmd/apps
parent04f9bbe56894e3d4a5cc43f530099266e76f987b (diff)
fix
Diffstat (limited to 'kvmd/apps')
-rw-r--r--kvmd/apps/otg/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/kvmd/apps/otg/__init__.py b/kvmd/apps/otg/__init__.py
index ffda8443..6d6d9a82 100644
--- a/kvmd/apps/otg/__init__.py
+++ b/kvmd/apps/otg/__init__.py
@@ -71,13 +71,12 @@ def _rmdir(path: str) -> None:
def _unlink(path: str, optional: bool=False) -> None:
logger = get_logger()
if optional and not os.access(path, os.F_OK):
- logger.info("SKIP ---- %s", path)
+ logger.info("SKIP-RM - %s", path)
return
logger.info("RM ------ %s", path)
os.unlink(path)
-
def _write(path: str, text: str, optional: bool=False) -> None:
logger = get_logger()
if optional and not os.access(path, os.F_OK):