diff --git a/flopy/export/vtk.py b/flopy/export/vtk.py index 07024a5b8b..96703dc678 100644 --- a/flopy/export/vtk.py +++ b/flopy/export/vtk.py @@ -1489,7 +1489,7 @@ def write(self, f: Union[str, os.PathLike], kper=None): self.add_array(array, name) if per in self.__transient_vector: - d = self.__transient_vector[d] + d = self.__transient_vector[per] for name, vector in d.items(): self.add_vector(vector, name)