From 18fea6440e3add098b8dbe26f40e493de3f3836e Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Fri, 22 Dec 2023 20:44:41 +0000 Subject: [PATCH] DumpRunner: Fix script handling of paths containing square brackets --- pcsx2-gsrunner/test_check_dumps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2-gsrunner/test_check_dumps.py b/pcsx2-gsrunner/test_check_dumps.py index 0b5d811a17..5c48b7a557 100644 --- a/pcsx2-gsrunner/test_check_dumps.py +++ b/pcsx2-gsrunner/test_check_dumps.py @@ -96,7 +96,7 @@ def check_regression_test(baselinedir, testdir, name): #print("*** %s is missing in test set" % name) return False - images = glob.glob(os.path.join(dir1, "*_frame*.png")) + images = glob.glob(os.path.join(glob.escape(dir1), "*_frame*.png")) diff_frames = [] first_fail = True stats = compare_stats(dir1, dir2)