Merge branch 'master' of github.com:E-Almqvist/wsp22

master
E. Almqvist 3 years ago
commit bc9d940c28
  1. 4
      src/lib/database.rb

@ -18,9 +18,9 @@ class EntityModel
begin begin
q = File.read sql_file # get SQL script q = File.read sql_file # get SQL script
self.db.query q # run query db.query q # run query
rescue Errno::ENOENT => err rescue Errno::ENOENT => err
error "#{err}" Console.error "#{err}"
end end
end end

Loading…
Cancel
Save