From a640491abc21aa22156458a2c5515716659b18f4 Mon Sep 17 00:00:00 2001 From: Corentin Lasne <corentin.lasne@student-cs.fr> Date: Fri, 26 May 2023 16:29:15 +0200 Subject: [PATCH] test --- src/functions.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/functions.py b/src/functions.py index b7e34d4..117b3b5 100644 --- a/src/functions.py +++ b/src/functions.py @@ -19,6 +19,11 @@ def construct_query(terms, negativeTerms, filters, negativeFilters): return (query) +def supress_n(text): + str = text.replace('\n', ' ') + return (str) + + def convert_date_str(date): return (date.strftime( "%m/%d/%Y, %H:%M:%S")) -- GitLab