diff --git a/src/n0s1/n0s1.py b/src/n0s1/n0s1.py index 76dfa50..0114241 100755 --- a/src/n0s1/n0s1.py +++ b/src/n0s1/n0s1.py @@ -476,7 +476,7 @@ def main(callback=None): parser = init_argparse() args = parser.parse_args() - DEBUG = args.debug + DEBUG = False regex_config = None cfg = {} @@ -485,6 +485,8 @@ def main(callback=None): parser.print_help() return + DEBUG = args.debug + if os.path.exists(args.regex_file): with open(args.regex_file, "r") as f: extension = os.path.splitext(args.regex_file)[1]