diff --git a/klugman/v1.py b/klugman/v1.py index f4b61a3..857b4d4 100644 --- a/klugman/v1.py +++ b/klugman/v1.py @@ -221,6 +221,8 @@ class Events(object): response = self.do_event(version, arguments) raw_rows = response.json(object_hook=jsonutil.object_hook) + if isinstance(raw_rows, dict): + raw_rows = [raw_rows] keys = set() for row in raw_rows: keys.update(row.keys()) diff --git a/setup.cfg b/setup.cfg index 93750e1..dbf7435 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = klugman -version = 0.3 +version = 0.4 author = Dark Secret Software Inc. author-email = admin@darksecretsoftware.com summary = StackTach.v3 Client