Files
python-rtslib-fb/fix_open_context.patch
ytshih edd124e9a2
Some checks failed
Build package / build-package (push) Failing after 22s
Initial commit
2025-02-11 16:19:33 +08:00

12 lines
511 B
Diff

--- 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,