From 410684debe0d08a49f500926bbcad6fe753fc0c9 Mon Sep 17 00:00:00 2001
From: Robert Izzard <r.izzard@surrey.ac.uk>
Date: Tue, 9 Nov 2021 10:10:31 +0000
Subject: [PATCH] fix typo in format

---
 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 3bb91d280..d478af808 100644
--- a/binarycpython/utils/grid.py
+++ b/binarycpython/utils/grid.py
@@ -5015,7 +5015,7 @@ eccentricity3=0
                 pathlib.Path(self.slurmpath(dir)).mkdir(exist_ok=False,
                                                         parents=True)
             except:
-                print("Tried to make the directory {dir} but it already exists. When you launch a set of binary_c jobs on Slurm, you need to set your slurm_dir to be a fresh directory with no contents.")
+                print("Tried to make the directory {dir} but it already exists. When you launch a set of binary_c jobs on Slurm, you need to set your slurm_dir to be a fresh directory with no contents.".format(dir=dir))
                 sys.exit()
 
         # check that they have been made and exist: we need this
-- 
GitLab