use self.password instead of parse url

This commit is contained in:
foamyguy 2024-02-26 16:30:23 -06:00
parent e0bbec2251
commit bfae6066dc

View file

@ -220,8 +220,8 @@ class WebBackend(Backend):
+ self.LIB_DIR_PATH
+ source.split(os.path.sep)[-1]
)
url = urlparse(target)
auth = HTTPBasicAuth("", url.password)
auth = HTTPBasicAuth("", self.password)
print(f"target: {target}")
print(f"source: {source}")