Fixed minor bug

master
E. Almqvist 3 years ago
parent 94bed11465
commit c83b582d2e
  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