Skip to content

Commit 78ffbae

Browse files
authored
FIX: dict.setdefault, not dict.set_default
1 parent 5701fa5 commit 78ffbae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fmriprep/cli/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def build_workflow(opts, retval):
421421
from yaml import load as loadyml
422422
with open(opts.use_plugin) as f:
423423
plugin_settings = loadyml(f)
424-
plugin_settings.set_default('plugin_args', {})
424+
plugin_settings.setdefault('plugin_args', {})
425425
else:
426426
# Defaults
427427
plugin_settings = {

0 commit comments

Comments
 (0)