removed unnecessary else

This commit is contained in:
Tristan Smith 2024-03-21 21:15:51 -04:00
parent 20b2f183ce
commit aa1ca433a4

View file

@ -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)
parser.print_help()