From 0fe086cbcd46dbeb6953ffa6592ee98c4fc512be Mon Sep 17 00:00:00 2001 From: timv Date: Wed, 12 Dec 2012 15:46:27 -0500 Subject: [PATCH] FIX: accidently delete on unchanged values --- bin/stdlib.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/stdlib.py b/bin/stdlib.py index acfb526..a9ffe53 100644 --- a/bin/stdlib.py +++ b/bin/stdlib.py @@ -237,9 +237,6 @@ def _run(): was = chart[fn].data[idx][-1] # last cell is val - if was is not None: - delete(item, was) - now = aggregate(item) # compute new val for item print ' was %s now %s' % (was, now) @@ -248,6 +245,9 @@ def _run(): print ' unchanged' continue + if was is not None: + delete(item, was) + chart[fn].data[idx][-1] = now update_dispatcher(item, now) -- 2.50.1