From aa1ca433a49315af615c36cf4c45ce9fded9af1a Mon Sep 17 00:00:00 2001 From: Tristan Smith Date: Thu, 21 Mar 2024 21:15:51 -0400 Subject: [PATCH] removed unnecessary else --- server.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/server.py b/server.py index 536e68c..2bdb546 100644 --- a/server.py +++ b/server.py @@ -62,12 +62,4 @@ elif args.dynamic == 'off': disable_dynamic_fan_control() if not (args.power or args.fan or args.dynamic): - parser.print_help() -else: - if args.power == 'on': - power_on() - elif args.power == 'off': - power_off() - pass - if args.fan is not None: - set_fan_speed(args.fan) \ No newline at end of file + parser.print_help() \ No newline at end of file