This commit is contained in:
夜坂雅 2023-02-15 10:47:58 +08:00
parent 98dc64cba2
commit 36d90644a0
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class Config:
elif database_path.startswith(mysql_scheme):
self.database = {
"type": "mysql",
"connection_string": f"mysql://{database_path[len(postgres_scheme):]}",
"connection_string": f"mysql://{database_path[len(mysql_scheme):]}",
}
else:
raise ConfigError("Invalid connection string for storage.database")