From 091ed1422c4545ff2981272fd25611be96912943 Mon Sep 17 00:00:00 2001 From: DevilXD Date: Wed, 24 Aug 2022 11:44:06 +0200 Subject: [PATCH] Make settings use the default language from constants.py instead of a hardcoded value --- settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.py b/settings.py index 822cbfa..a49ad21 100644 --- a/settings.py +++ b/settings.py @@ -4,8 +4,8 @@ from typing import Any, TypedDict, TYPE_CHECKING from yarl import URL -from constants import SETTINGS_PATH from utils import json_load, json_save +from constants import SETTINGS_PATH, DEFAULT_LANG if TYPE_CHECKING: from main import ParsedArgs @@ -26,9 +26,9 @@ default_settings: SettingsFile = { "priority": [], "exclude": set(), "autostart": False, - "language": "English", "priority_only": True, "autostart_tray": False, + "language": DEFAULT_LANG, }