From 39729f9907dac1f93db99b263702fd37bbb09c4f Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Wed, 28 Feb 2024 21:17:45 +0100 Subject: [PATCH] data_models: fix a validation error description --- rendercv/data_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rendercv/data_models.py b/rendercv/data_models.py index adb9e70..fa7b0e9 100644 --- a/rendercv/data_models.py +++ b/rendercv/data_models.py @@ -227,8 +227,8 @@ class EntryBase(RenderCVBaseModel): elif not start_date_is_provided and end_date_is_provided: raise ValueError( - '"end_date" is provided in of the entries, but "start_date" is not.' - ' Either provide both "start_date" and "end_date" or provide "date".', + '"end_date" is provided, but "start_date" is not. Either provide both' + ' "start_date" and "end_date" or provide "date".', "start_date", # this is the location of the error "", # this supposed to be the value of the error )