Fix variable as integer for power cap

The integer variable populating as dictionary data have a string char
{u'data': u'0'}
due to scalar conversion from set variable to dictionary data for POST
operation.

With the change
{u'data': 0}
the data remains as integer thus accepting this POST request to write
to power_cap

Resolves openbmc/openbmc-test-automation#141

Change-Id: I7d99023bc07b24781dcffd53d19e75007993f210
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
1 file changed