Skip to content

Commit

Permalink
Update utils.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcgee4 committed Dec 2, 2024
1 parent f7b49c9 commit c529c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ pub fn download_file(file_url: &str, file_path: &PathBuf) {
///
/// # Limitations
/// - The function assumes that all data passed to it is in the correct format
pub fn fetch_current(major_minor_version : &str) -> Option<String> {
pub fn get_full_python_version(major_minor_version : &str) -> Option<String> {
let response = match minreq::get("https://endoflife.date/api/python.json").send() {
Ok(res) if (res.status_code == 200) => res,
Ok(_) => abort("todo", None),
Expand Down

0 comments on commit c529c96

Please sign in to comment.