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