Skip to content

Commit 1eda483

Browse files
fix
1 parent 1680f9d commit 1eda483

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Utils/utils.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,14 @@ def upgrade_configs_structure(config):
140140
hasNewRestorator = 'restoration model' in renderer
141141
if isOldRestorator and not hasNewRestorator:
142142
# if restorator is specified in model, move it to model/renderer
143+
moveField(
144+
['model', 'restorator', 'blur radius encoding'],
145+
['model', 'renderer', 'restoration model', 'blur radius encoding']
146+
)
147+
moveField(
148+
['model', 'restorator', 'residual condition'],
149+
['model', 'renderer', 'restoration model', 'residual condition']
150+
)
143151
moveField(
144152
['model', 'restorator'],
145153
['model', 'renderer', 'restoration model', 'restorator']

0 commit comments

Comments
 (0)