From 0758c18a0a08b2946b95ba836a60865d62e63c0c Mon Sep 17 00:00:00 2001 From: Jesse Schmidt Date: Thu, 18 Jan 2024 12:26:04 -0800 Subject: [PATCH] fix: LogAnalyzer init output --- asadm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/asadm.py b/asadm.py index 938d8dbf..21cb85dd 100755 --- a/asadm.py +++ b/asadm.py @@ -135,10 +135,10 @@ async def __init__( cmd.Cmd.__init__(self) try: - if mode == AdminMode.LOG_ANALYZER: - if not log_path: - log_path = " " + if log_path: + log_path = log_path.strip() + if mode == AdminMode.LOG_ANALYZER: self.ctrl = LogAnalyzerRootController(admin_version, log_path) elif mode == AdminMode.COLLECTINFO_ANALYZER: