MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _write_last_ssid

Method _write_last_ssid

network_storage.py:191–196  ·  view source on GitHub ↗
(self, ssid: Optional[str])

Source from the content-addressed store, hash-verified

189 return None
190
191 def _write_last_ssid(self, ssid: Optional[str]):
192 try:
193 with open(self.last_ssid_file, 'w', encoding='utf-8') as handle:
194 handle.write((ssid or self.default_ssid) + '\n')
195 except IOError:
196 pass

Callers 1

activate_networkMethod · 0.95

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected