From 8b4894b2318fbabf037d9f6e1c2fcf37e6f18585 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Wed, 9 Jan 2013 19:29:35 +0100 Subject: Bugfix: Storing of symbols in sqlite --- sources/wiki/get_wiki_data.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3