changeset 112:fb4bdbfbce83

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 24 Nov 2020 14:51:35 -0800
parents c0d53e920bd1
children cc54fa8065c5
files decoupage/web.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/decoupage/web.py	Tue Nov 03 11:14:15 2020 -0800
+++ b/decoupage/web.py	Tue Nov 24 14:51:35 2020 -0800
@@ -355,7 +355,7 @@
         if os.path.exists(ini_path):
             _conf = ConfigMunger(ini_path).dict()
             if len(_conf) == 1:
-                conf = _conf[_conf.keys()[0]].copy()
+                conf = _conf[list(_conf.keys())[0]].copy()
 
         # global configuration
         if not conf and self.configuration and os.path.exists(self.configuration):