removed unnecessary else
This commit is contained in:
parent
20b2f183ce
commit
aa1ca433a4
1 changed files with 1 additions and 9 deletions
|
@ -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)
|
Loading…
Reference in a new issue