Check if the main database is available (decrypted).
(self)
| 904 | """ |
| 905 | if not self.is_configured(): |
| 906 | return |
| 907 | |
| 908 | if os.path.exists(self.main_db_path) and os.path.exists(self.encrypted_db_path): |
| 909 | # Both exist. Likely either a crash leftover or the empty placeholder |
| 910 | # created by get_db() at startup. Either way the encrypted copy is the |
| 911 | # authoritative version; decrypt_database() will replace ragnar.db on login. |
nothing calls this directly
no outgoing calls
no test coverage detected