[Python] Fix ambiguous imports

This commit is contained in:
Wilson Lin 2022-10-26 14:45:04 +11:00
parent 6c9577399b
commit 456f14732d
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
use minify_html::{minify as minify_html_native, Cfg};
use ::minify_html::{minify as minify_html_native, Cfg};
use pyo3::prelude::*;
use pyo3::wrap_pyfunction;
use std::string::String;

View File

@ -1,4 +1,4 @@
use minify_html_onepass::{in_place as minify_html_native, Cfg, Error};
use ::minify_html_onepass::{in_place as minify_html_native, Cfg, Error};
use pyo3::exceptions::PySyntaxError;
use pyo3::prelude::*;
use pyo3::wrap_pyfunction;