fix if
This commit is contained in:
parent
110ccc4bb1
commit
75c9fa0ad3
@ -220,7 +220,7 @@ class WPExport:
|
|||||||
try:
|
try:
|
||||||
u = urlparse(self._url)
|
u = urlparse(self._url)
|
||||||
o = urlparse(href)
|
o = urlparse(href)
|
||||||
if o.netloc == "":
|
if o.netloc == "":
|
||||||
o = o._replace(netloc=u.netloc)
|
o = o._replace(netloc=u.netloc)
|
||||||
o = o._replace(scheme=u.scheme)
|
o = o._replace(scheme=u.scheme)
|
||||||
page_url.append(o.geturl())
|
page_url.append(o.geturl())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user