Permalink
Browse files

fixed file write mode

  • Loading branch information...
1 parent fa71f85 commit 0ba5c29e29b0c8dfa78844c899d0a61b52207324 @kumarnitin kumarnitin committed Aug 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/www/setup/dropbox_client.py
@@ -54,7 +54,7 @@ def save_access_token(self, request_token_key):
access_token = sess.obtain_access_token(request_token)
serialize_token = {'key': access_token.key,
'secret': access_token.secret}
- stream = open(self.TOKEN_FILE_NAME, 'w+')
+ stream = open(self.TOKEN_FILE_NAME, 'w')
dump(serialize_token, stream)
# delete delta file

0 comments on commit 0ba5c29

Please sign in to comment.