From d8c7b3df0bf259f5458369ba64320b79926247a4 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 9 Apr 2022 14:12:03 +0700 Subject: [PATCH] better error message for wrong es version, #197 --- tubearchivist/home/apps.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tubearchivist/home/apps.py b/tubearchivist/home/apps.py index 46a940c..1053bc6 100644 --- a/tubearchivist/home/apps.py +++ b/tubearchivist/home/apps.py @@ -97,9 +97,8 @@ class StartupCheck: if invalid: print( - "minial required elasticsearch version: " - + f"{self.MIN_MAJOR}.{self.MIN_MINOR}, " - + "please update to recommended version." + "required elasticsearch version: " + + f"{self.MIN_MAJOR}.{self.MIN_MINOR}" ) sys.exit(1)