commit | aed36a47f9689a7595fea4bc450f1a0e1c3f9f7e | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Thu May 26 17:22:10 2016 -0700 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Thu May 26 17:22:10 2016 -0700 |
tree | 833e07ac726eba419bf726d22a2b85b11e70f5b7 | |
parent | 3d2197dda6b93a1e7634b1e8cc7aea2269e413fa [diff] |
Creating diag object with readable name
diff --git a/xos/synchronizers/base/event_loop.py b/xos/synchronizers/base/event_loop.py index 8d7f7c0..c006c8a 100644 --- a/xos/synchronizers/base/event_loop.py +++ b/xos/synchronizers/base/event_loop.py
@@ -529,6 +529,7 @@ diag = Diag.objects.filter(name=observer_name).first() if (not diag): diag = Diag(name=observer_name) + diag.humanReadableName = observer_name br_str = diag.backend_register br = json.loads(br_str) br['last_run'] = loop_end