X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/529af1a8e82eff19d98f6f60a98fc6d5e3e8d95d..21260a74f42a65603317d1938fac675d5eef6635:/bin/weather-filter?ds=sidebyside diff --git a/bin/weather-filter b/bin/weather-filter index 84c2265..3acca7b 100755 --- a/bin/weather-filter +++ b/bin/weather-filter @@ -175,7 +175,7 @@ local day = arg[3] local dbdriver = require "luasql.sqlite3" env = assert(dbdriver.sqlite3()) -con = assert(env:connect(logdb)) +con = assert(env:connect(logdb,'READONLY')) if command == "list" then