diff options
author | 2021-11-02 15:31:03 +1100 | |
---|---|---|
committer | 2021-11-02 15:31:03 +1100 | |
commit | d775a2731d7be00fe53932c43cb2321769ef1989 (patch) | |
tree | 16c75c22431717bb731c238e8796f41f4bba006d /plugins/data/database.lua | |
parent | e4c0f2ddacb44863f4b9bb52b76d1f5f8e5b03a8 (diff) |
plugins: Moved the timecode recording functionality to a plugin.
Diffstat (limited to 'plugins/data/database.lua')
-rw-r--r-- | plugins/data/database.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/data/database.lua b/plugins/data/database.lua index b868173ce08..be52f23ee63 100644 --- a/plugins/data/database.lua +++ b/plugins/data/database.lua @@ -4,7 +4,7 @@ local db local function check_db(msg) if db:errcode() > sql.OK then - emu.print_error(string.format("Error: %s (%s - %s)\n", msg, db:errcode(), db:errmsg())) + emu.print_error(string.format("Error: %s (%s - %s)", msg, db:errcode(), db:errmsg())) end end @@ -15,7 +15,7 @@ do lfs.mkdir(dbpath) db = sql.open(dbpath .. "/history.db") if not db then - emu.print_error("Unable to create history.db\n") + emu.print_error("Unable to create history.db") return false end check_db("opening database") |