From da2ada5227ee7dd92b5d117a1decc0a95379aa6b Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 13 Feb 2005 17:56:18 +0000 Subject: [PATCH] Fix (read: hack) "number of chosen songs" parsing. --- parse/parse-ddreurope-tournament.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; } -- 2.39.2