From 30f8c29fc41d291e09e5657c04c3b7f1fbd2853b Mon Sep 17 00:00:00 2001 From: Filip Stedronsky
Date: Thu, 29 Jul 2021 17:32:55 +0200 Subject: [PATCH] fixup --- setup_win10.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup_win10.py b/setup_win10.py index 76ba369..3bf74d7 100755 --- a/setup_win10.py +++ b/setup_win10.py @@ -40,8 +40,8 @@ def with_device(pth): finally: subprocess.run(['losetup', '-d', dev]) elif pth.is_block_device(): - subprocess.run(['partprobe', dev]) - yield dev + subprocess.run(['partprobe', pth]) + yield pth def ci_lookup(base, *comps, creating=False, parents=False): """Lookup path components case-insensitively"""