(key: str, value: bytes)
| 796 | |
| 797 | |
| 798 | def meta_set(key: str, value: bytes) -> None: |
| 799 | con = db_connect() |
| 800 | con.execute("INSERT INTO meta(k,v) VALUES(?,?) ON CONFLICT(k) DO UPDATE SET v=excluded.v", (key, value)) |
| 801 | con.commit() |
| 802 | con.close() |
| 803 | |
| 804 | |
| 805 | def vault_configured() -> bool: |
no test coverage detected