Our trick for getting rid of fruit flies is simple: put three drops of dish soap (whatever kind you use) into 1 cup of vinegar and leave it out in a bowl. The vinegar will attract the flies to the bowl and the soap will reduce the surface tension so the flies sink to the bottom.
{}