summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rhlibrary/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rhlibrary/main.go b/src/rhlibrary/main.go
index 94a5a06..c9f3dde 100644
--- a/src/rhlibrary/main.go
+++ b/src/rhlibrary/main.go
@@ -88,7 +88,7 @@ func main() {
gtk.Init(nil)
- db, err := rddb.NewDB(rdconf.Get().(string))
+ db, err := rddb.NewDBReadOnly(rdconf.Get().(string))
if err != nil {
rhl.Println("Error initializing Rivdenll DB:", err)
return