Skip to content

Commit

Permalink
[apps/factory_status] WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
abesto committed Jan 19, 2022
1 parent 57d9110 commit c63ccb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/factory_status.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ local function main()
end
local status_str = table.concat(status_strs, " | ")

table_printer:insert(color, {name, entry.productivity, status_str})
local productivity_str = string.format("%d%%", entry.productivity * 100)
table_printer:insert(color, {name, productivity_str, status_str})
end

table_printer:sort()
Expand Down

0 comments on commit c63ccb7

Please sign in to comment.