fix a issue that zero parameter doesn't show up
Change-Id: I88c32995faecdee10ddb80c0e83123d3b2f4c73e
This commit is contained in:
parent
dbb8429c8a
commit
4f3503c42c
|
@ -412,7 +412,7 @@ class MeteosSparkController(object):
|
|||
else:
|
||||
self.output = self.controller.predict(self.model, params)
|
||||
|
||||
if self.output:
|
||||
if self.output is not None:
|
||||
print(self.output)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue