Skip to content
Snippets Groups Projects
Commit 5d5f38a1 authored by Max Kimmich's avatar Max Kimmich
Browse files

Fix debug mode if set via cli argument

parent a8772fc4
No related branches found
No related tags found
No related merge requests found
......@@ -283,7 +283,8 @@ if __name__ == "__main__":
options = argument_parser.parse_args()
# debug mode will allow for a quick run
if options.debug is None:
debug = options.debug
if debug is None:
debug = conv2bool(os.getenv("EP_DEBUG", False))
if debug is None:
raise ValueError(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment