Skip to content

Commit

Permalink
cargo fmt fix for all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Apr 21, 2024
1 parent bb3a58f commit 5b4f9f9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions bindings/python/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,11 @@ fn chromium_based(
db_path: String,
domains: Option<Vec<&str>>,
) -> PyResult<Vec<PyObject>> {
let cookies =
browser::chromium::chromium_based(PathBuf::from(key_path), PathBuf::from(db_path), domains)
?;
let cookies = browser::chromium::chromium_based(
PathBuf::from(key_path),
PathBuf::from(db_path),
domains,
)?;
let cookies = to_dict(py, cookies)?;

Ok(cookies)
Expand All @@ -161,8 +163,7 @@ fn chromium_based(
osx_key_service: None,
osx_key_user: None,
};
let cookies =
browser::chromium::chromium_based(&config, PathBuf::from(db_path), domains)?;
let cookies = browser::chromium::chromium_based(&config, PathBuf::from(db_path), domains)?;
let cookies = to_dict(py, cookies)?;

Ok(cookies)
Expand Down

0 comments on commit 5b4f9f9

Please sign in to comment.