removed unnecessary else

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

View file

@ -63,11 +63,3 @@ elif args.dynamic == 'off':
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)