diff --git a/src/startup.lua b/src/startup.lua index 9dd7a41..768c78f 100644 --- a/src/startup.lua +++ b/src/startup.lua @@ -29,7 +29,7 @@ shell.run("/brulijam/sync.lua") local hash = require("brulijam.lib.hash") if os.getComputerLabel() == nil then print("wuauw") - local labelMainPart = string.sub(hash.digestStr(os.getComputerID()), 1, 6) + local labelMainPart = string.sub(hash.digestStr(string.format(os.getComputerID())), 1, 6) os.setComputerLabel(labelPrefix .. "-" .. labelMainPart) end