From 9228137187fad357f367cd2b1ba1398d460c6a69 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sat, 1 Apr 2023 22:16:38 -0700 Subject: [PATCH] Fix check_4k_alignment() Addresses #215 --- scripts/wk/os/win.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/wk/os/win.py b/scripts/wk/os/win.py index 3b5c80e3..a5043d3d 100644 --- a/scripts/wk/os/win.py +++ b/scripts/wk/os/win.py @@ -181,7 +181,7 @@ def check_4k_alignment(show_alert=False): if not match: LOG.error('Failed to parse partition info for: %s', line) continue - if int(match.group('offset')) % 4096 == 0: + if int(match.group('offset')) % 4096 != 0: report.append( color_string( f'{match.group("description")}'