Skip to content

Commit

Permalink
Fix copy paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaublitz committed Apr 11, 2023
1 parent 21ceb84 commit 83a1a63
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dbus_api/api/manager_3_4/methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ where
}
}
};

let unlock_method = {
let unlock_method_tup: (bool, &str) = get_next_arg(&mut iter, 1)?;
let unlock_method_tup: (bool, &str) = get_next_arg(&mut iter, 2)?;
match tuple_to_option(unlock_method_tup) {
Some(unlock_method_str) => match UnlockMethod::try_from(unlock_method_str) {
Ok(um) => Some(um),
Expand Down

0 comments on commit 83a1a63

Please sign in to comment.