Factoids: Fix Python 3 support.

This commit is contained in:
Valentin Lorentz 2016-06-04 18:57:31 +02:00
parent 59df2ff038
commit 7b658e714b

View File

@ -159,8 +159,7 @@ class FactoidsCallback(httpserver.SupyHTTPServerCallback):
factoids[key] = {}
factoids[key][id_] = fact
content = ''
keys = factoids.keys()
keys.sort()
keys = sorted(factoids.keys())
for key in keys:
facts = factoids[key]
content += '<tr>'