From 291c9c63206aeb4334649e61b740d4ba9abfedc9 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Mon, 22 Aug 2022 18:01:27 +0200 Subject: [PATCH] Fixed stupid mistake when parsing observation-dictss --- columbus/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/columbus/env.py b/columbus/env.py index 509ddea..65f5778 100644 --- a/columbus/env.py +++ b/columbus/env.py @@ -22,7 +22,7 @@ def parseObs(obsConf): if obsConf['type'] == 'State': conf = {k: v for k, v in obsConf.items() if k not in ['type']} - return observables.StateObservable(conf) + return observables.StateObservable(**conf) elif obsConf['type'] == 'Compass': conf = {k: v for k, v in obsConf.items() if k not in ['type']} return observables.CompassObservable(**conf)