diff --git a/scripts/version.py b/scripts/version.py index b20b5802c..bbbe61a4e 100755 --- a/scripts/version.py +++ b/scripts/version.py @@ -20,7 +20,7 @@ sys.exit(0) VERSION = "" -with open("%s/core.py" % scalDir, encoding="utf-8") as _file: +with open(f"{scalDir}/core.py", encoding="utf-8") as _file: while True: line = _file.readline() if line.startswith("VERSION"):