New look Brentford made one change from the side that triumphed at Huddersfield last Saturday.
Jay Smith replaced the injured Jamie Fullarton. The Bees opened the brighter and on four minutes a Stephen Hunt free-kick flashed wide of the left-hand post.
On 17 minutes hesitancy in the Bees defence between Leo Roget and keeper Paul Smith gave Christian Roberts a chance, he nipped in and saw his effort go well wide of the target.
On the half hour mark the home side saw their real first effort on target when a Tony Dobson cross from the right was met by Ed Hutchinson and from eight yards out his header went straight to the keeper.
Two minutes later City broke and Aaron Brown's left-foot effort from 15 yards was tipped away at full stretch by Smith for a corner.
The Bees first corner came 5five minutes from the break, but Roget headed wide at the far post.
Four minutes after break the visitors almost took the lead when a Scott Murray left-foot strike from 20 yards hit the outside of left-hand post.
Four minutes later a Dobson corner from the right was met by Roget 10 yards out and his header went straight to the keeper.
The visitors were unlucky not to score on 63 minutes when hesitancy again in the Bees ranks left Murray unmarked in the box and his left-foot effort hit again hit the outside of the left-hand post.
A minute later a defence splitting ball by Roberts found Lee Peacock unmarked in the box and his right-foot strike smashed against the left-hand post and rebounded to safety.
The all important Bees winner came after 68 minutes when Hunt was tripped in the box by Danny Coles, referee Danson pointed to the spot and Hunt stepped up to score from the resulting spot-kick.
Fifteen minutes from time Brown was red carded for a crude tackle on Ibrahima Sonko