Yo dawg, I heard you like dict values, so I made your dict value a dict value.

master
Simon Quigley 5 years ago
parent fc9e24b62b
commit d052943e6d

@ -122,7 +122,8 @@ class Generator:
for skey in mdata_sub_keys:
if skey in package[mkey]:
nkey = package[mkey]
nkey = nkey.replace(skey, mdata_sub_keys[skey])
sub_key = package[mdata_sub_keys[skey]]
nkey = nkey.replace(skey, sub_key)
package[mkey] = nkey
return mdata_conf

Loading…
Cancel
Save