diff --git a/README.md b/README.md index cb81483..2235c22 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ ColdDB ColdDB is a minetest mod that implements a serverless, asynchronous, NoSQL database engine.
It provides a key or key-value based storage system using plain Lua tables.
+.cold file ext was removed. + Usage =========== diff --git a/colddb.lua b/colddb.lua index da3f830..4530d24 100644 --- a/colddb.lua +++ b/colddb.lua @@ -81,7 +81,7 @@ function colddb.Colddb(dir) end local function file_exists(name) - local f = io.open(string.format("%s/%s.cold", directory, name), "r") + local f = io.open(string.format("%s/%s", directory, name), "r") if f ~= nil then io.close(f) return true