DumpRunner: Fix script handling of paths containing square brackets

This commit is contained in:
refractionpcsx2 2023-12-22 20:44:41 +00:00
parent 3a242b513c
commit 18fea6440e
1 changed files with 1 additions and 1 deletions

View File

@ -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)