def choices_from_dict(source, prepend_blank=True):
    choices = []

    if prepend_blank:
        choices.append(('', _('Please select one...')))

    for key, value in source.iteritems():
        pair = (key, value)
        choices.append(pair)

    return choices
Changes to the next photo.
dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/lib/util_wtforms.py/choices_from_dict--crossover with--dataset/ETHPy150Open thesamet/webilder/src/webilder/base_applet.py/BaseApplet.next_photo