Skip to content

Commit e3b1637

Browse files
authored
Update main.py
little change
1 parent 7b64e36 commit e3b1637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bandit/cli/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def main():
461461
# Other strings will be blocked by argparse
462462

463463
if args.no_line_numbers is not None:
464-
os.environ["BANDIT_NO_LINES"] = args.no_line_numbers
464+
os.environ["BANDIT_NO_LINES"] = str(args.no_line_numbers)
465465

466466
try:
467467
b_conf = b_config.BanditConfig(config_file=args.config_file)

0 commit comments

Comments
 (0)