From 558545acf83d9da3899c8a64b4f64d25bf5dea84 Mon Sep 17 00:00:00 2001 From: gac-x04sa Date: Tue, 30 Oct 2018 17:13:50 +0100 Subject: [PATCH] Closedown --- script/device/Image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/device/Image.py b/script/device/Image.py index 365caf4..ade855b 100644 --- a/script/device/Image.py +++ b/script/device/Image.py @@ -58,9 +58,9 @@ class Image(DeviceBase, Readable): return I_sum def read(self): - (I_sum, area_I, thresh1_count, thresh2_count, thresh3_count, thresh4_count, I_sum_bgr, area_bgr) = self.get_int() + (I_sum, area_I, thresh1_count, thresh2_count, thresh3_count, thresh4_count, I_sum_bgr, area_bgr) = self.get_int() + print (I_sum, area_I, thresh1_count, thresh2_count, thresh3_count, thresh4_count, I_sum_bgr, area_bgr) ret = I_sum - print ret if area_bgr > 0: ret = ret - ((I_sum_bgr / area_bgr) * area_I) return ret