From c83b582d2eb362c6c5b26aeba7481697541c4608 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Thu, 24 Feb 2022 18:22:45 +0100 Subject: [PATCH] Fixed minor bug --- src/lib/database.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/database.rb b/src/lib/database.rb index cc58062..21a96a1 100644 --- a/src/lib/database.rb +++ b/src/lib/database.rb @@ -18,9 +18,9 @@ class EntityModel begin q = File.read sql_file # get SQL script - self.db.query q # run query + db.query q # run query rescue Errno::ENOENT => err - error "#{err}" + Console.error "#{err}" end end