From 75c9fa0ad36f9a20f64031c8f9feb5ea2d91d65f Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Sun, 28 May 2023 22:42:38 +0200 Subject: [PATCH] fix if --- lib/WPExport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WPExport.py b/lib/WPExport.py index ef0e396..f0775e7 100644 --- a/lib/WPExport.py +++ b/lib/WPExport.py @@ -220,7 +220,7 @@ class WPExport: try: u = urlparse(self._url) o = urlparse(href) - if o.netloc == "": + if o.netloc == "": o = o._replace(netloc=u.netloc) o = o._replace(scheme=u.scheme) page_url.append(o.geturl())