From: Steinar H. Gunderson Date: Sun, 13 Feb 2005 17:56:18 +0000 (+0000) Subject: Fix (read: hack) "number of chosen songs" parsing. X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=da2ada5227ee7dd92b5d117a1decc0a95379aa6b;ds=inline Fix (read: hack) "number of chosen songs" parsing. --- diff --git a/parse/parse-ddreurope-tournament.pl b/parse/parse-ddreurope-tournament.pl index eee3d7d..d5ec424 100644 --- a/parse/parse-ddreurope-tournament.pl +++ b/parse/parse-ddreurope-tournament.pl @@ -95,9 +95,9 @@ while (<>) { print " round=$round;\n"; } - # Header for chosen song + # Header for chosen song (evil) if (/ <\/th>/x) { - printf "UPDATE rounds SET chosensongs=chosensongs+1 WHERE \n"; + printf "UPDATE rounds SET chosensongs=1 WHERE \n"; print " tournament=(SELECT tournament FROM tournaments WHERE name='$name') AND \n"; print " round=$round;\n"; }