X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/67f3d398664cc319615339c1ce9c525e672c332f..0d332cb66939747237ce374275f5719acc2354f5:/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