fix: options should accessed with get_option...
This commit is contained in:
+2
-2
@@ -63,8 +63,8 @@ class Fetcher:
|
||||
if not isinstance(url, URI):
|
||||
url = URI(url)
|
||||
|
||||
if ctx.config.options.authinfo:
|
||||
url.set_auth_info(ctx.config.options.authinfo)
|
||||
if ctx.config.get_option("authinfo"):
|
||||
url.set_auth_info(ctx.config.get_option("authinfo"))
|
||||
|
||||
self.resume = resume
|
||||
self.scheme = url.scheme()
|
||||
|
||||
Reference in New Issue
Block a user