aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsources/wiki/get_wiki_data.rb2
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