From 8a8360b2ce162ff5dcd7d4eb51710fa2ca4e418f Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 20 Jul 2022 16:10:15 +0100 Subject: [PATCH] Fix HTML report generation --- bulk_create.lua | 1 + mod.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/bulk_create.lua b/bulk_create.lua index 7c00f3a..82e3df3 100644 --- a/bulk_create.lua +++ b/bulk_create.lua @@ -247,6 +247,7 @@ local function write_reports(player, users, passwords) ]]):format(title, title, rows), "\n") + file:close() end return filename diff --git a/mod.conf b/mod.conf index 253c508..6367578 100644 --- a/mod.conf +++ b/mod.conf @@ -3,3 +3,4 @@ name = accountmgr author = rubenwardy license = MIT description = Automatically create accounts in bulk, and export a report to .CSV or .HTML. From .HTML, you can create a .PDF using your web browser. +min_minetest_version = 5.2