File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -175,12 +175,12 @@ def postMarketData(data):
175
175
176
176
if "categoryname" in commodity and commodity .categoryname != "NonMarketable" and commodity .stockBracket != '' and commodity .demandBracket != '' :
177
177
tmpCommodity ["name" ] = commodity .name
178
- tmpCommodity ["meanPrice" ] = commodity .meanPrice
179
- tmpCommodity ["buyPrice" ] = commodity .buyPrice
180
- tmpCommodity ["stock" ] = commodity .stock
178
+ tmpCommodity ["meanPrice" ] = int ( commodity .meanPrice )
179
+ tmpCommodity ["buyPrice" ] = int ( commodity .buyPrice )
180
+ tmpCommodity ["stock" ] = int ( commodity .stock )
181
181
tmpCommodity ["stockBracket" ] = commodity .stockBracket
182
- tmpCommodity ["sellPrice" ] = commodity .sellPrice
183
- tmpCommodity ["demand" ] = commodity .demand
182
+ tmpCommodity ["sellPrice" ] = int ( commodity .sellPrice )
183
+ tmpCommodity ["demand" ] = int ( commodity .demand )
184
184
tmpCommodity ["demandBracket" ] = commodity .demandBracket
185
185
186
186
if len (commodity .statusFlags ) > 0 :
You can’t perform that action at this time.
0 commit comments