summaryrefslogtreecommitdiffstats
path: root/fb.py
diff options
context:
space:
mode:
Diffstat (limited to 'fb.py')
-rwxr-xr-xfb.py2
1 files changed, 1 insertions, 1 deletions
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'])