Skip to content

Commit

Permalink
fix some return #79 (5)
Browse files Browse the repository at this point in the history
  • Loading branch information
LoRexxar committed Sep 15, 2020
1 parent 6e501b8 commit c76ef04
Show file tree
Hide file tree
Showing 6 changed files with 195 additions and 143 deletions.
4 changes: 2 additions & 2 deletions core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ def main():
logger.info("[INIT] New Log file {}.log .".format(args.log))
log_add(logging.INFO, args.log)
else:
logger.info("[INIT] New Log file {}.log .".format(sid))
log(logging.INFO, "ScanTask_{}".format(sid))
logger.info("[INIT] New Log file ScanTask_{}.log .".format(sid))
log_add(logging.INFO, "ScanTask_{}".format(sid))

if hasattr(args, "debug") and args.debug:
logger.setLevel(logging.DEBUG)
Expand Down
Loading

0 comments on commit c76ef04

Please sign in to comment.