Skip to content

Commit c6053ec

Browse files
committed
Fix default debug level
1 parent edcef7a commit c6053ec

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tmuxp/cli.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,8 +939,12 @@ def main():
939939

940940
args = parser.parse_args()
941941

942+
log_level = 'INFO'
943+
if 'log_level' in args and isinstance(args.log_level, string_types):
944+
log_level = args.log_level.upper()
945+
942946
setup_logger(
943-
level=args.log_level.upper() if 'log_level' in args else 'INFO'
947+
level=log_level
944948
)
945949

946950
try:

0 commit comments

Comments
 (0)