fstercq / freepybox

Manage your freebox in Python using the Freebox OS API
23 stars 31 forks source link

Create new var to write in the token file #6

Closed stilllman closed 5 years ago

stilllman commented 5 years ago

Leave app_desc untouched before writing in token file (function _writefile_app_token) otherwise creating a Freebox instance twice in a row will fail (the app_desc read from the file will be different from the one in memory since it has been changed before writing the auth file)