diff options
author | Dirk Mallunat <s4msung@exigen.org> | 2016-07-05 00:27:23 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-07-05 00:30:08 +0200 |
commit | 78cb251326ca4c5be41cf6003365cd649b65c562 (patch) | |
tree | e89aeff36556ba02fb6dec383ae65a8b7d40ecdf | |
parent | 29634278eb84fcdd1b29b85ed2ce8c5250e4a183 (diff) |
Close apikey file explicity
FP: Reword commit message
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | fb.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -738,7 +738,7 @@ class FBClient: resp = self.curlw.send_post('/user/create_apikey', data) self.makedirs(os.path.dirname(self.config['apikey_file'])) - open(self.config['apikey_file'], 'w').write(resp['new_key']) + open(self.config['apikey_file'], 'w').write(resp['new_key']).close() class File: path = None |