summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()