env setup fixes

This commit is contained in:
hay-kot
2021-04-01 19:40:10 -08:00
parent 94cda5bb83
commit fd21777990
3 changed files with 2 additions and 3 deletions

View File

@@ -111,7 +111,7 @@ class AppSettings(BaseSettings):
SQLITE_FILE: Optional[Union[str, Path]]
@validator("SQLITE_FILE", pre=True)
def identify_sqlite_file(cls, v: str) -> Optional[str]:
def identify_sqlite_file(_cls, v: str) -> Optional[str]:
return app_dirs.SQLITE_DIR.joinpath(f"mealie_{DB_VERSION}.sqlite")
DEFAULT_GROUP: str = "Home"