Skip to content

Commit

Permalink
Fix issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
desbma committed Jun 5, 2015
1 parent 1cae823 commit ef2fae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hddfancontrol/__init__.py
Expand Up @@ -684,7 +684,7 @@ def cl_main():
dest="hddtemp_daemon_port",
help="hddtemp daemon port if option --hddtemp-daemon is used")
args = arg_parser.parse_args()
if ((len(args.fan_pwm_filepath) != len(args.stat_filepaths)) or
if ((len(args.drive_filepaths) != len(args.stat_filepaths)) or
((args.fan_start_value is not None) and (len(args.fan_pwm_filepath) != len(args.fan_start_value))) or
((args.fan_stop_value is not None) and (len(args.fan_pwm_filepath) != len(args.fan_stop_value)))):
raise ValueError("Invalid parameter count")
Expand Down

0 comments on commit ef2fae3

Please sign in to comment.