X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FTSN%2FXML%2FInjuries.hs;h=f425f89db33fe828dead2dbd047de18bc753f2ba;hb=3b91dab2cc716aac332368e707f4ed27f059838a;hp=bea54d3c029deea97f395c4b444d538d9b24ead9;hpb=59fdc86ed23c134c388e8919edcfb50ff7e00c06;p=dead%2Fhtsn-import.git diff --git a/src/TSN/XML/Injuries.hs b/src/TSN/XML/Injuries.hs index bea54d3..f425f89 100644 --- a/src/TSN/XML/Injuries.hs +++ b/src/TSN/XML/Injuries.hs @@ -96,7 +96,7 @@ pickle_injuries_team :: PU InjuriesTeam pickle_injuries_team = xpElem "team" $ xpWrap (from_tuple, to_tuple) $ - xpPair xpText (xpAttr "league" (xpOption xpText)) + xpPair xpText (xpOption $ xpAttr "league" xpText) where from_tuple = uncurryN InjuriesTeam to_tuple m = (team_name m, team_league m)