From cbd5c9aa4b98a3ecc682adf739c103acffc2406f Mon Sep 17 00:00:00 2001 From: Robert Izzard <r.izzard@surrey.ac.uk> Date: Mon, 8 Nov 2021 18:50:52 +0000 Subject: [PATCH] format statement cleanup --- binarycpython/utils/grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binarycpython/utils/grid.py b/binarycpython/utils/grid.py index 04fb95085..56de13f4f 100644 --- a/binarycpython/utils/grid.py +++ b/binarycpython/utils/grid.py @@ -1116,7 +1116,7 @@ class Population: for dir in dirs: path = self.grid_options[dir] if path != None and dir_ok(path) == False: - print("Directory",dir,", currently set to",path,", cannot be written to. Please check that this directory is correct and you have write access.") + print("Directory {dir} currently set to {path} cannot be written to. Please check that this directory is correct and you have write access.".format(dir=dir,path=path)) sys.exit(1) return -- GitLab