X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/67f3d398664cc319615339c1ce9c525e672c332f..6691228bdeefd3ae7857c0aa4b8c76fa5f770a94:/bin/weather-filter?ds=inline 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