fix: Remove duplicate code causing indentation error in game_reader_test plugin
The _check_backends method had leftover code from an old version mixed with the new implementation, causing: unexpected indent (plugin.py, line 953) Removed the duplicate/old code block.
This commit is contained in:
parent
0bdb3ce189
commit
f9dbde1a95
|
|
@ -959,20 +959,6 @@ class GameReaderTestPlugin(BasePlugin):
|
|||
|
||||
statuses.append("\n💡 Recommendation: EasyOCR is easiest (auto-downloads models)")
|
||||
|
||||
self.backend_status.setPlainText('\n'.join(statuses))
|
||||
from paddleocr import PaddleOCR
|
||||
statuses.append("✅ PaddleOCR - Available")
|
||||
except ImportError:
|
||||
statuses.append("❌ PaddleOCR - Not installed\n Install: pip install paddleocr")
|
||||
|
||||
try:
|
||||
from PIL import ImageGrab
|
||||
statuses.append("✅ Screen Capture - Available")
|
||||
except ImportError:
|
||||
statuses.append("❌ Screen Capture - PIL not available")
|
||||
|
||||
statuses.append("\n💡 Recommendation: Use EasyOCR - it auto-installs required models")
|
||||
|
||||
self.backend_status.setPlainText('\n'.join(statuses))
|
||||
|
||||
def shutdown(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue