unstable
sinn3r 2012-10-02 15:46:16 -05:00
parent 6d815bce4e
commit 2a88aab209
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class RopDb
# Returns the database in XML
#
def load_rop(file_path)
f = File.open(file_path)
f = File.open(file_path, 'rb')
xml = REXML::Document.new(f.read(f.stat.size))
f.close
return xml