diff --git a/gwinc/struct.py b/gwinc/struct.py index 25c82508af8cfd35764329900f1429348e900642..26594597436674ef31a2e6cf5d0b06a5e170cc31 100644 --- a/gwinc/struct.py +++ b/gwinc/struct.py @@ -96,7 +96,7 @@ class Struct(object): else: return self.__dict__[key] - def get(self, key, default): + def get(self, key, default=None): """Get a (possibly nested) value from the struct, or default. """