lille formateringsændring

This commit is contained in:
Christoffer Müller Madsen 2016-09-17 13:29:13 +02:00
parent 24124ac837
commit 14e5d3d30c

View File

@ -46,7 +46,7 @@ def menu_select_date():
date_entries = [(k,"") for k in complete_klandringer] date_entries = [(k,"") for k in complete_klandringer]
if mongo == True: if mongo == True:
for entry in collection.find(): for entry in collection.find():
date_entries.append((entry["date"],entry["time"] + " - " + entry["place"])) date_entries.append((entry["date"],entry["date"] + " " + entry["time"] + " - " + entry["place"]))
date_entries.append(("Ny","Opret en ny dato")) date_entries.append(("Ny","Opret en ny dato"))
code, tag = d.menu("Vælg den dato du vil ændre", code, tag = d.menu("Vælg den dato du vil ændre",
title="Vælg dato", title="Vælg dato",