use self.password instead of parse url
This commit is contained in:
parent
e0bbec2251
commit
bfae6066dc
1 changed files with 2 additions and 2 deletions
|
|
@ -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}")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue