From d52b58edbfb307945155acf205346918270334ef Mon Sep 17 00:00:00 2001
From: Michiel Cottaar <MichielCottaar@gmail.com>
Date: Thu, 2 May 2019 14:31:13 +0100
Subject: [PATCH] BUG: remove f-string

---
 fsl/utils/filetree/parse.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fsl/utils/filetree/parse.py b/fsl/utils/filetree/parse.py
index f76fe9b72..b2d6c883a 100644
--- a/fsl/utils/filetree/parse.py
+++ b/fsl/utils/filetree/parse.py
@@ -50,7 +50,7 @@ def check_forbidden_characters(text, characters, text_type):
     """
     bad = [character for character in characters if character in text]
     if len(bad) > 0:
-        raise ValueError(f'Invalid character(s) "{"".join(bad)}" in {text_type}: {text}')
+        raise ValueError('Invalid character(s) "{}" in {}: {}'.format("".join(bad), text_type, text))
 
 
 def read_line(line: str) -> Tuple[int, PurePath, str]:
-- 
GitLab