aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-09 19:29:35 +0100
committerJochen Topf <jochen@topf.org>2013-01-09 19:29:35 +0100
commit8b4894b2318fbabf037d9f6e1c2fcf37e6f18585 (patch)
tree98c8c3fb15a5c72b1c9431066335e06a23692771
parent64a047f622a5ed15dea94b5e52dd8c948fce9e95 (diff)
downloadtaginfo-8b4894b2318fbabf037d9f6e1c2fcf37e6f18585.tar
taginfo-8b4894b2318fbabf037d9f6e1c2fcf37e6f18585.tar.gz
Bugfix: Storing of symbols in sqlite
-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