Skip to content

Commit

Permalink
Fix: use local function
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorporation committed Oct 6, 2024
1 parent 5cfd789 commit a6f086f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HomeWidgets/WidgetRaspberryStatus.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

local rows = {}

function addRow(key, value)
local function addRow(key, value)
table.insert(rows, "<tr><th>" ..
mympd.htmlencode(key) .. "</th><td>" ..
mympd.htmlencode(value) .. "</td></tr>")
Expand Down

0 comments on commit a6f086f

Please sign in to comment.