Use the more modern python string declaration

This commit is contained in:
Sylvestre Ledru 2022-04-03 11:10:39 +02:00 committed by GitHub
parent 950432e492
commit 7076cc084f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ for d in data:
for e in data[d]:
# Not all the tests are .sh files, rename them if not.
script = e.replace(".log", ".sh")
a = "%s%s/%s" % (base, d, script)
a = f"{base}{d}{script}"
if not os.path.exists(a):
a = a.replace(".sh", ".pl")
if not os.path.exists(a):