MCPcopy
hub / github.com/Datalux/Osintgram / onlogin_callback

Method onlogin_callback

src/Osintgram.py:1149–1153  ·  view source on GitHub ↗
(self, api, new_settings_file)

Source from the content-addressed store, hash-verified

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:

Callers 1

loginMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected