mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
CLI: don't print DEBUG logs
The CLI version was mistakenly printing debug logs.
This commit is contained in:
parent
c406c95cec
commit
eb3fd5ae16
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ args.override_parser_and_check_suspicious_options(cli_main)
|
|||
|
||||
|
||||
def setup_logging() -> None:
|
||||
if getattr(sys, "dangerzone_dev", True):
|
||||
if getattr(sys, "dangerzone_dev", False):
|
||||
fmt = "%(message)s"
|
||||
logging.basicConfig(level=logging.DEBUG, format=fmt)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue