fix a issue that zero parameter doesn't show up

Change-Id: I88c32995faecdee10ddb80c0e83123d3b2f4c73e
This commit is contained in:
Hiroyuki Eguchi 2016-12-16 10:27:03 +09:00
parent dbb8429c8a
commit 4f3503c42c
1 changed files with 1 additions and 1 deletions

View File

@ -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)