From 2e9a644e37ff48f5be6ea780fcfbe8a0af193c96 Mon Sep 17 00:00:00 2001 From: brulijam Date: Sat, 8 Jun 2024 19:23:08 +0200 Subject: [PATCH] . --- src/startup.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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