~johanvandegriff/VotePho.me

9738d965bb0ba524b1e4c0ed666014f0b430510a — Johan Vandegriff 3 months ago f1c216b master
sorted image dir listing
2 files changed, 1 insertions(+), 0 deletions(-)

D .routes.py.swp
M routes.py
D .routes.py.swp => .routes.py.swp +0 -0

M routes.py => routes.py +1 -0
@@ 86,6 86,7 @@ def votes():
def gallery_json():
    images = getImages() #get a list of all the images in the directory
    # random.shuffle(images) #shuffle the images to help eliminate bias
    images.sort() #sort for a more predictible order

    vote_data = loadVotesFile()
    titles = vote_data['titles']