readded local_language config option

This commit is contained in:
2020-10-12 22:43:02 +01:00
parent c9fd2fea81
commit 84aa7c3278
3 changed files with 6 additions and 3 deletions

View File

@ -41,6 +41,8 @@ lazy_static! {
.unwrap_or(60 * 60 * 24 * 365 * 50);
pub static ref LOCAL_TIMEZONE: String =
env::var("LOCAL_TIMEZONE").unwrap_or_else(|_| "UTC".to_string());
pub static ref LOCAL_LANGUAGE: String =
env::var("LOCAL_LANGUAGE").unwrap_or_else(|_| "EN".to_string());
pub static ref PYTHON_LOCATION: String =
env::var("PYTHON_LOCATION").unwrap_or_else(|_| "venv/bin/python3".to_string());
}