Flatten the audiobook post data structure.
[wolnelektury.git] / src / catalogue / constants.py
index 60ceceb..2a00ac2 100644 (file)
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
 #
@@ -17,7 +16,8 @@ LICENSES = {
 LICENSES['http://creativecommons.org/licenses/by-sa/3.0/deed.pl'] = \
     LICENSES['http://creativecommons.org/licenses/by-sa/3.0/']
 
-for license, data in LICENSES.items():
+
+for license, data in list(LICENSES.items()):
     LICENSES[license.replace('http://', 'https://')] = data
 
 # Those will be generated only for books with own HTML.