|
@@ -157,7 +157,7 @@ class UnicomDataView(View):
|
|
|
key = 'monthly_flow_' + iccid
|
|
|
if year and month:
|
|
|
file = year + '-' + month
|
|
|
- flow = redis_obj.get_hash_data(key, file)
|
|
|
+ flow = redis_obj.get_hash_data(key, file)[0]
|
|
|
flow = flow.decode() if flow else 0
|
|
|
data_list.append({file: flow})
|
|
|
else:
|