Commit 165df7f1 authored by Daniel Salzman's avatar Daniel Salzman

python/libknot: encode stats values as integer

parent b1ede89f
Pipeline #1661 passed with stages
in 5 minutes and 59 seconds
......@@ -330,7 +330,7 @@ class KnotCtl(object):
section = reply[KnotCtlDataIdx.SECTION]
item = reply[KnotCtlDataIdx.ITEM]
idx = reply[KnotCtlDataIdx.ID]
data = reply[KnotCtlDataIdx.DATA]
data = int(reply[KnotCtlDataIdx.DATA])
# Add the zone if not exists.
if zone:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment