Mercurial > hgrepos > hgweb.cgi > skipweb
changeset 725:a6bd4c4b4eef
prof.rb kconv
author | ARAKI Tsuyohito <c113007@e.koeki-u.ac.jp> |
---|---|
date | Tue, 07 Jul 2015 22:57:24 +0900 |
parents | e35b5e660176 |
children | cbbae265f30f |
files | oasis2015/prof.rb |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/oasis2015/prof.rb Tue Jul 07 22:49:07 2015 +0900 +++ b/oasis2015/prof.rb Tue Jul 07 22:57:24 2015 +0900 @@ -2,9 +2,9 @@ # -*- coding: utf-8 -*- require 'cgi' require 'sqlite3' -require 'kconv' +#require 'kconv' c = CGI.new(:tag_maker => "html5", :accept_charest => "UTF-8") -db = SQLite3::Database.new("sql/main.sq3") +db = SQLite3::Database.new("./sql/main.sq3") id = c.cookies["id"][0] person = id.to_i