From 51f0ead16d60c63d1b069f807e3513bba11d8947 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Mon, 28 Nov 2022 00:32:17 +0100 Subject: Converted string formatting to f-strings. --- doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/conf.py b/doc/conf.py index bae26d1ec..7bbb1e054 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -74,7 +74,7 @@ try: with open(prologPath, "r") as prologFile: rst_prolog = prologFile.read() except Exception as ex: - print("[ERROR:] While reading '{0!s}'.".format(prologPath)) + print(f"[ERROR:] While reading '{prologPath!s}'.") print(ex) rst_prolog = "" -- cgit v1.2.3