changeset 767:580396aaf804

prof tema pt
author ARAKI Tsuyohito <c113007@e.koeki-u.ac.jp>
date Wed, 08 Jul 2015 20:16:24 +0900
parents 99a86f0867af
children 291a95801584
files oasis2015/prof.rb
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/oasis2015/prof.rb	Wed Jul 08 20:12:46 2015 +0900
+++ b/oasis2015/prof.rb	Wed Jul 08 20:16:24 2015 +0900
@@ -58,6 +58,8 @@
 ##################ptを獲得した際の反応。####################
 #########前の人が書き込んだ時間と比べて60秒以内なら追加ポイント####
 kpt = 0
+tema = pt
+pt = tema.to_i
 bom = c["bom"]                        ####<form ~~ name="bom">より
 if bom == "skip"
 jikan2 = db.execute(jikan1, "j")

yatex.org