updated the debug variable to opts.debug to work
This commit is contained in:
@@ -167,7 +167,7 @@ if __name__ == '__main__':
|
||||
help="Output debug/verbose info to the console for troubleshooting."
|
||||
)
|
||||
opts, args = parser.parse_args(sys.argv[1:])
|
||||
if debug:
|
||||
if opts.debug:
|
||||
logger = utils.build_console_logger(logging.DEBUG)
|
||||
else:
|
||||
logger = utils.build_console_logger(logging.INFO)
|
||||
|
||||
Reference in New Issue
Block a user