GameSentenceMiner 2.8.1__py3-none-any.whl → 2.8.2__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/util.py +2 -2
- {gamesentenceminer-2.8.1.dist-info → gamesentenceminer-2.8.2.dist-info}/METADATA +1 -1
- {gamesentenceminer-2.8.1.dist-info → gamesentenceminer-2.8.2.dist-info}/RECORD +7 -7
- {gamesentenceminer-2.8.1.dist-info → gamesentenceminer-2.8.2.dist-info}/WHEEL +0 -0
- {gamesentenceminer-2.8.1.dist-info → gamesentenceminer-2.8.2.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.8.1.dist-info → gamesentenceminer-2.8.2.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.8.1.dist-info → gamesentenceminer-2.8.2.dist-info}/top_level.txt +0 -0
GameSentenceMiner/util.py
CHANGED
@@ -255,12 +255,12 @@ os.makedirs(os.path.dirname(TEXT_REPLACEMENTS_FILE), exist_ok=True)
|
|
255
255
|
|
256
256
|
import urllib.request
|
257
257
|
|
258
|
-
if not os.path.exists(
|
258
|
+
if not os.path.exists(OCR_REPLACEMENTS_FILE):
|
259
259
|
url = "https://raw.githubusercontent.com/bpwhelan/GameSentenceMiner/refs/heads/main/electron-src/assets/ocr_replacements.json"
|
260
260
|
try:
|
261
261
|
with urllib.request.urlopen(url) as response:
|
262
262
|
data = response.read().decode('utf-8')
|
263
|
-
with open(
|
263
|
+
with open(OCR_REPLACEMENTS_FILE, 'w', encoding='utf-8') as f:
|
264
264
|
f.write(data)
|
265
265
|
except Exception as e:
|
266
266
|
logger.error(f"Failed to fetch JSON from {url}: {e}")
|
@@ -11,7 +11,7 @@ GameSentenceMiner/notification.py,sha256=FY39ChSRK0Y8TQ6lBGsLnpZUFPtFpSy2tweeXVo
|
|
11
11
|
GameSentenceMiner/obs.py,sha256=DLTcK48Dqcg-5BYC2Fp-tPCO4dVI9FuVYbwIawECkwQ,8977
|
12
12
|
GameSentenceMiner/package.py,sha256=YlS6QRMuVlm6mdXx0rlXv9_3erTGS21jaP3PNNWfAH0,1250
|
13
13
|
GameSentenceMiner/text_log.py,sha256=tBuZ8ElUgPtiQV8U6U90kmRxposwIkL3fjOYejdzikc,5153
|
14
|
-
GameSentenceMiner/util.py,sha256=
|
14
|
+
GameSentenceMiner/util.py,sha256=bb75EQdk4Nf0i9t3XMznjd6NxTWfkOVeE5bZFstbCbU,8910
|
15
15
|
GameSentenceMiner/ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
GameSentenceMiner/ai/gemini.py,sha256=6kTQPuRH16D-1srhrWa5uPGIy-jBqNm9eRdKBSbpiXA,5423
|
17
17
|
GameSentenceMiner/communication/__init__.py,sha256=_jGn9PJxtOAOPtJ2rI-Qu9hEHVZVpIvWlxKvqk91_zI,638
|
@@ -50,9 +50,9 @@ GameSentenceMiner/web/static/text_replacements.html,sha256=LJ2qBEZvyMaBJLLJzDIw0
|
|
50
50
|
GameSentenceMiner/web/static/utility.html,sha256=DlXaglC2ZkBfEKK1sxuS8Dc5Xj09Yqi27qQuEF0c59w,9812
|
51
51
|
GameSentenceMiner/web/static/web-app-manifest-192x192.png,sha256=EfSNnBmsSaLfESbkGfYwbKzcjKOdzuWo18ABADfN974,51117
|
52
52
|
GameSentenceMiner/web/static/web-app-manifest-512x512.png,sha256=wyqgCWCrLEUxSRXmaA3iJEESd-vM-ZmlTtZFBY4V8Pk,230819
|
53
|
-
gamesentenceminer-2.8.
|
54
|
-
gamesentenceminer-2.8.
|
55
|
-
gamesentenceminer-2.8.
|
56
|
-
gamesentenceminer-2.8.
|
57
|
-
gamesentenceminer-2.8.
|
58
|
-
gamesentenceminer-2.8.
|
53
|
+
gamesentenceminer-2.8.2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
54
|
+
gamesentenceminer-2.8.2.dist-info/METADATA,sha256=PM3A_vs6cv_TyyCrzBBKckWY5jFu5HaJSeMOiokRiHA,5912
|
55
|
+
gamesentenceminer-2.8.2.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
|
56
|
+
gamesentenceminer-2.8.2.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
|
57
|
+
gamesentenceminer-2.8.2.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
|
58
|
+
gamesentenceminer-2.8.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|