@Toddy
A small cup of vinegar is good to get rid of fruit flies.... well... it attracts them, so I'm not sure the range of attraction... but they often drown in it.
I hadn't thought to do that, but I make and use a lemon peel soaked in vinegar cleaning liquid, and I used it in the shower last week on the glass doors, and the menfolks were complaining about 'wee flies' in the bathroom afterwards....probably the vinegar