diff options
author | Florian Pritz <bluewind@xinu.at> | 2020-10-11 10:47:27 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2020-10-11 10:47:27 +0200 |
commit | 83b303b52da08599d038e39f6a26ea74d4e7eaca (patch) | |
tree | d41e19a41c916f027ddfabfff99c5e4766d05462 | |
parent | c41bb16e376332dc353d0edbcdc75ded5cc0996e (diff) |
Fix missing arguments to CURLWrapper
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | fb.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() |