From fc0ccd34918752afe9af4bc5bbd36f91c836251e Mon Sep 17 00:00:00 2001 From: Reinhold Willcox Date: Mon, 26 Jan 2026 15:11:53 +0100 Subject: [PATCH] fixed false for False --- compas_python_utils/h5copy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compas_python_utils/h5copy.py b/compas_python_utils/h5copy.py index 21c284ab3..4f383b8b8 100644 --- a/compas_python_utils/h5copy.py +++ b/compas_python_utils/h5copy.py @@ -580,13 +580,13 @@ def main(): outHDF5file = h5.h5f.open(fullOutFpath.encode('utf-8'), fapl = h5FileAccessPropertyList) # open it except Exception as e: # error opening file print('Error occurred while disabling HDF5 dataset cache:', str(e)) # announce error - ok = false # fail + ok = False # fail else: # output file does not exist try: outHDF5file = h5.h5f.create(fullOutFpath.encode('utf-8'), fapl = h5FileAccessPropertyList) # create it except Exception as e: # error creating file print('Error occurred while disabling HDF5 dataset cache:', str(e)) # announce error - ok = false # fail + ok = False # fail if ok: try: