From dce32791ff5c74cb81ee5d3401b3fe1734efa8d4 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 6 Jul 2016 08:50:24 +0200 Subject: Fix creation of config dir FBClient.makedirs already determines the dirname itself. Signed-off-by: Florian Pritz --- fb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fb.py b/fb.py index 85dd375..6a36741 100755 --- a/fb.py +++ b/fb.py @@ -794,7 +794,7 @@ class FBClient: raise - self.makedirs(os.path.dirname(self.config['apikey_file'])) + self.makedirs(self.config['apikey_file']) with open(self.config['apikey_file'], 'w') as outfile: outfile.write(resp['new_key']) -- cgit v1.2.3-24-g4f1b