Skip to content

Commit

Permalink
Fix path and namespace of storage classes
Browse files Browse the repository at this point in the history
  • Loading branch information
KitaitiMakoto committed Oct 11, 2017
1 parent da8b187 commit 8de68bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool/convert.rb
Expand Up @@ -159,8 +159,8 @@ def main(argv)

# require_relative "../hiki/repos/#{repository_type}"
# repository_class = ::Hiki.const_get("Repos#{repository_type.capitalize}")
require_relative "../hiki/db/#{database_type}"
database_class = ::Hiki::const_get("HikiDB_#{database_type}")
require_relative "../lib/hiki/storage/#{database_type}"
database_class = ::Hiki::Storage::const_get(database_type.capitalize)

if check_only
check(data_path, database_class, input_encoding, output_encoding, nkf)
Expand Down

0 comments on commit 8de68bf

Please sign in to comment.