mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2026-02-07 01:01:24 +01:00
make database path a pathbuf
I'm guessing it wasn't like this already because of one of the admin commands I deleted.
This commit is contained in:
parent
5a5608e088
commit
81a449d1d2
3 changed files with 7 additions and 8 deletions
|
|
@ -110,7 +110,7 @@ impl Engine {
|
|||
|
||||
impl KeyValueDatabaseEngine for Arc<Engine> {
|
||||
fn open(config: &Config) -> Result<Self> {
|
||||
let path = Path::new(&config.database.path).join(format!(
|
||||
let path = config.database.path.join(format!(
|
||||
"{}.db",
|
||||
if config.conduit_compat {
|
||||
"conduit"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue