From 411e1c6c69e1fdab5445f2abc1efd8f8c57ef39c Mon Sep 17 00:00:00 2001 From: r3dhax0r <28696468+Tuhinshubhra@users.noreply.github.com> Date: Thu, 14 May 2020 08:22:01 +0530 Subject: [PATCH] Minor fix --- cmseekdb/basic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmseekdb/basic.py b/cmseekdb/basic.py index e88f1e53..037d9a8c 100644 --- a/cmseekdb/basic.py +++ b/cmseekdb/basic.py @@ -121,7 +121,7 @@ def help(): CMS IDs. separated by comma "," --skip-scanned Skips target if it's CMS was previously detected. - + --light-scan Skips Deep Scan. Does CMS and version detection only. -o, --only-cms Only detect CMS, ignore deep scan and version detection. @@ -319,7 +319,7 @@ def clear_log(): def handle_quit(end_prog = True): # in case of unwanted exit this function should take care of writing the json log global log_dir - if log_dir is not "": + if log_dir != "": log_file = os.path.join(log_dir, 'cms.json') # print(log_file) global log