(self, api, new_settings_file)
| 1147 | return json_object |
| 1148 | |
| 1149 | def onlogin_callback(self, api, new_settings_file): |
| 1150 | cache_settings = api.settings |
| 1151 | with open(new_settings_file, 'w') as outfile: |
| 1152 | json.dump(cache_settings, outfile, default=self.to_json) |
| 1153 | # print('SAVED: {0!s}'.format(new_settings_file)) |
| 1154 | |
| 1155 | def check_following(self): |
| 1156 | if str(self.target_id) == self.api.authenticated_user_id: |