From 83b303b52da08599d038e39f6a26ea74d4e7eaca Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 11 Oct 2020 10:47:27 +0200 Subject: Fix missing arguments to CURLWrapper Signed-off-by: Florian Pritz --- fb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fb.py') diff --git a/fb.py b/fb.py index 94b021f..ab1ace9 100755 --- a/fb.py +++ b/fb.py @@ -104,7 +104,7 @@ class CURLWrapper: def getServerConfig(self): if self.serverConfig is None: - self.serverConfig = CURLWrapper(self.config).send_get("/file/get_config") + self.serverConfig = CURLWrapper(self.config, self.args).send_get("/file/get_config") return self.serverConfig def upload_files(self, files): @@ -515,7 +515,7 @@ class FBClient: if sys.stdin.isatty(): eprint("No API key found, creating a new one") self.config["debug"] = self.args.debug - self.curlw = CURLWrapper(self.config) + self.curlw = CURLWrapper(self.config, self.args) self.create_apikey() self.curlw = None self.loadConfig() -- cgit v1.2.3-24-g4f1b