GameSentenceMiner 2.10.9__py3-none-any.whl → 2.10.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- GameSentenceMiner/gsm.py +7 -0
- GameSentenceMiner/ocr/owocr_area_selector.py +307 -755
- GameSentenceMiner/ocr/owocr_helper.py +2 -2
- GameSentenceMiner/util/configuration.py +1 -0
- GameSentenceMiner/web/service.py +10 -21
- GameSentenceMiner/web/texthooking_page.py +4 -4
- {gamesentenceminer-2.10.9.dist-info → gamesentenceminer-2.10.11.dist-info}/METADATA +1 -1
- {gamesentenceminer-2.10.9.dist-info → gamesentenceminer-2.10.11.dist-info}/RECORD +12 -12
- {gamesentenceminer-2.10.9.dist-info → gamesentenceminer-2.10.11.dist-info}/WHEEL +0 -0
- {gamesentenceminer-2.10.9.dist-info → gamesentenceminer-2.10.11.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.10.9.dist-info → gamesentenceminer-2.10.11.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.10.9.dist-info → gamesentenceminer-2.10.11.dist-info}/top_level.txt +0 -0
GameSentenceMiner/gsm.py
CHANGED
@@ -452,6 +452,13 @@ def cleanup():
|
|
452
452
|
if icon:
|
453
453
|
icon.stop()
|
454
454
|
|
455
|
+
for video in gsm_state.videos_to_remove:
|
456
|
+
try:
|
457
|
+
if os.path.exists(video):
|
458
|
+
os.remove(video)
|
459
|
+
except Exception as e:
|
460
|
+
logger.error(f"Error removing temporary video file {video}: {e}")
|
461
|
+
|
455
462
|
settings_window.window.destroy()
|
456
463
|
time.sleep(5)
|
457
464
|
logger.info("Cleanup complete.")
|