X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=parse%2Fparse-ddreurope-tournament.pl;h=d5ec424b3794610b7831bff6c61e352b883e3970;hp=eee3d7d4ae42f01fb7e5dfd15b1550e17d8a48d3;hb=da2ada5227ee7dd92b5d117a1decc0a95379aa6b;hpb=5a4279b35a7aa7280a677ed61d2d2f196d56f694 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"; }