summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2020-10-11 10:47:27 +0200
committerFlorian Pritz <bluewind@xinu.at>2020-10-11 10:47:27 +0200
commit83b303b52da08599d038e39f6a26ea74d4e7eaca (patch)
treed41e19a41c916f027ddfabfff99c5e4766d05462
parentc41bb16e376332dc353d0edbcdc75ded5cc0996e (diff)
Fix missing arguments to CURLWrapper
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xfb.py4
1 files changed, 2 insertions, 2 deletions
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()