Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuhinshubhra committed May 14, 2020
1 parent d1a96d3 commit 411e1c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmseekdb/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 411e1c6

Please sign in to comment.