fix running cli without arguments

This commit is contained in:
Jörg Thalheim 2024-06-04 13:22:32 +02:00
parent 7ad11f3a39
commit b694a77acd

View File

@ -313,7 +313,7 @@ def main() -> None:
if len(sys.argv) == 1:
parser.print_help()
if args.debug:
if getattr(args, "debug", False):
setup_logging(logging.DEBUG, root_log_name=__name__.split(".")[0])
log.debug("Debug log activated")
if flatpak.is_flatpak():