(self, should_be_required)
| 23 | 'INSERT OR IGNORE INTO settings(id) VALUES (?)', [_ROW_ID]) |
| 24 | |
| 25 | def set_requires_https(self, should_be_required): |
| 26 | self._db_connection.execute( |
| 27 | 'UPDATE settings SET requires_https=? WHERE id=?', |
| 28 | [should_be_required, _ROW_ID]) |
| 29 | |
| 30 | def requires_https(self): |
| 31 | """Retrieves the setting whether HTTPS connections are required. |
no outgoing calls