diff options
Diffstat (limited to 'sources/wiki')
-rwxr-xr-x | sources/wiki/get_wiki_data.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/wiki/get_wiki_data.rb b/sources/wiki/get_wiki_data.rb index 34d1182..fa71ec3 100755 --- a/sources/wiki/get_wiki_data.rb +++ b/sources/wiki/get_wiki_data.rb @@ -314,7 +314,7 @@ File.open(dir + '/tagpages.list') do |wikipages| page.insert(db) else puts "invalid page: #{reason} #{page.title}" - db.execute('INSERT INTO invalid_page_titles (reason, title) VALUES (?, ?)', reason, page.title) + db.execute('INSERT INTO invalid_page_titles (reason, title) VALUES (?, ?)', reason.to_s, page.title) end end end |