From 5067cc69812694a35949833fc2c924e4cf182efc Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Thu, 22 Apr 2021 11:54:37 +0200 Subject: [PATCH] Code quality --- persistence.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/persistence.lua b/persistence.lua index 2a23886..cae0827 100644 --- a/persistence.lua +++ b/persistence.lua @@ -139,5 +139,5 @@ function lua_log_file:rewrite() self.file:close() end self:_rewrite() - self.file = io.open(self.file_path, "a+") + self:open() end \ No newline at end of file