Section 17. All fines, penalties or assessments in actions under this chapter shall be paid to the general fund of the municipality.