--- rtslib-fb-2.2.0/rtslib/root.py.orig 2025-01-17 21:43:22.992672648 +0200 +++ rtslib-fb-2.2.0/rtslib/root.py 2025-01-17 21:53:20.492076362 +0200 @@ -487,7 +487,7 @@ if not restore_file: restore_file = default_save_file - with Path(restore_file).open as f: + with Path(restore_file).open() as f: config = json.loads(f.read()) return self.restore(config, target, storage_object, clear_existing=clear_existing,