diff --git a/borgmatic/borg/prune.py b/borgmatic/borg/prune.py index e6f4eb0..e63e492 100644 --- a/borgmatic/borg/prune.py +++ b/borgmatic/borg/prune.py @@ -21,7 +21,7 @@ def _make_prune_flags(retention_config): ('--keep-monthly', '6'), ) ''' - config = dict(retention_config) + config = retention_config.copy() if 'prefix' not in config: config['prefix'] = '{hostname}-'