diff --git a/payu/models/mitgcm.py b/payu/models/mitgcm.py
index <HASH>..<HASH> 100644
--- a/payu/models/mitgcm.py
+++ b/payu/models/mitgcm.py
@@ -225,7 +225,7 @@ class Mitgcm(Model):
         # Save model time to restart next run
         with open(os.path.join(self.restart_path,
                   self.restart_calendar_file), 'w') as restart_file:
-            restart = {'endtime': data_nml['parm03']['endTime']},
+            restart = {'endtime': data_nml['parm03']['endTime']}
             restart_file.write(yaml.dump(restart, default_flow_style=False))
 
         # Remove symbolic links to input or pickup files:
Removed trailing comma which made restart a tuple, stuffing up the restart file. Fixes #<I> (#<I>)