From bf42c2a1b7b434f3e47803f9b55db682798cfa4e Mon Sep 17 00:00:00 2001 From: LemonNexus Date: Sun, 15 Feb 2026 00:18:54 +0000 Subject: [PATCH] fix: Add missing 'import re' to game_reader_test plugin The _parse_skills_from_text method uses re (regex) but it was only imported inside a nested function, not at module level. Added 'import re' at the top of the file. --- plugins/game_reader_test/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/game_reader_test/plugin.py b/plugins/game_reader_test/plugin.py index 57eaae0..cdd48b8 100644 --- a/plugins/game_reader_test/plugin.py +++ b/plugins/game_reader_test/plugin.py @@ -5,6 +5,7 @@ Debug and test tool for OCR and game reading functionality. Tests screen capture, OCR accuracy, and text extraction. """ +import re from pathlib import Path from PyQt6.QtWidgets import ( QWidget, QVBoxLayout, QHBoxLayout, QTextEdit,