From: khemendra kumar Date: Mon, 28 Dec 2020 06:40:32 +0000 (+0530) Subject: Fixed codestyle issues X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F4011%2F1;p=ealt-edge.git Fixed codestyle issues Signed-off-by: khemendra kumar Change-Id: I254db3a4cefc54a0426cdc907691b5e3c52ea54e --- diff --git a/example-apps/ROBO/retail_app/inventry/retail_app.py b/example-apps/ROBO/retail_app/inventry/retail_app.py index a558642..7de018e 100644 --- a/example-apps/ROBO/retail_app/inventry/retail_app.py +++ b/example-apps/ROBO/retail_app/inventry/retail_app.py @@ -45,35 +45,36 @@ class inventry_info: Store the data and manage multiple input video feeds """ def __init__(self, current_count=0, total_count=0, time=0): - self.type = "Shelf_INV" - self.labels = "Bottles" - self.current_count = current_count - self.total_count = total_count - self.time = time + self.type = "Shelf_INV" + self.labels = "Bottles" + self.current_count = current_count + self.total_count = total_count + self.time = time def setcurrentcount(self, current_count): - self.current_count = current_count + self.current_count = current_count def settotalcount(self, total_count): - self.total_count = total_count + self.total_count = total_count def getcurrentcount(self): - return self.current_count + return self.current_count def gettotalcount(self): - return self.total_count + return self.total_count def setlabel(self, labels): - self.labels = labels + self.labels = labels def getlabel(self): - return self.labels + return self.labels def settime(self, time): - self.labels = time + self.labels = time def gettime(self): - return self.time + return self.time + def store_data(inventry_info): """