Stage 04.3 - repositories, balance snapshots and environment mode fix
This commit is contained in:
@@ -26,6 +26,8 @@ class Settings:
|
||||
db_name: str
|
||||
db_user: str
|
||||
db_password: str
|
||||
def is_demo_mode(self) -> bool:
|
||||
return "demo" in self.exchange_base_url.lower()
|
||||
def _parse_bool(raw_value: str, default: bool = False) -> bool:
|
||||
value = (raw_value or "").strip().lower()
|
||||
if not value:
|
||||
|
||||
Reference in New Issue
Block a user