forked from clan/clan-core
fix running cli without arguments
This commit is contained in:
parent
c1aedc5bb8
commit
f71295e640
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user