A motorist who asked police for directions while she was smoking a cannabis joint has been banned from driving for 17 months.