Correct issue on run

This commit is contained in:
nicolargo 2022-02-26 15:52:45 +01:00
parent be927fda3d
commit 6404e08129

View File

@ -699,7 +699,7 @@ Examples of use:
if getattr(self.args, 'memory_leak', True) and not (PY3 or self.is_standalone()):
logger.critical("Option --memory-leak is only available with Python 3 and terminal mode")
sys.exit(2)
else:
elif getattr(self.args, 'memory_leak', True) and (PY3 or self.is_standalone()):
logger.info('Memory leak detection enabled')
self.args.quiet = True
if not self.args.stop_after: