X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/67f3d398664cc319615339c1ce9c525e672c332f..22ca64ec047957beb57e5ca4024d14ed996ffbac:/bin/weather-filter 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