GameSentenceMiner 2.10.2__py3-none-any.whl → 2.10.3__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.
@@ -339,7 +339,7 @@ def run_oneocr(ocr_config: OCRConfig, rectangles):
339
339
 
340
340
  def add_ss_hotkey(ss_hotkey="ctrl+shift+g"):
341
341
  import keyboard
342
- secret_ss_hotkey = "F15"
342
+ secret_ss_hotkey = "F14"
343
343
  filtering = TextFiltering(lang=language)
344
344
  cropper = ScreenCropper()
345
345
  def capture():
@@ -355,7 +355,8 @@ def add_ss_hotkey(ss_hotkey="ctrl+shift+g"):
355
355
  do_second_ocr("", datetime.now(), img_bytes, filtering)
356
356
  try:
357
357
  keyboard.add_hotkey(ss_hotkey, capture)
358
- keyboard.add_hotkey(secret_ss_hotkey, capture_main_monitor)
358
+ if "f13" in ss_hotkey.lower():
359
+ keyboard.add_hotkey(secret_ss_hotkey, capture_main_monitor)
359
360
  print(f"Press {ss_hotkey} to take a screenshot.")
360
361
  except Exception as e:
361
362
  logger.error(f"Error setting up screenshot hotkey with keyboard, Attempting Backup: {e}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: GameSentenceMiner
3
- Version: 2.10.2
3
+ Version: 2.10.3
4
4
  Summary: A tool for mining sentences from games. Update: Full UI Re-design
5
5
  Author-email: Beangate <bpwhelan95@gmail.com>
6
6
  License: MIT License
@@ -19,7 +19,7 @@ GameSentenceMiner/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
19
19
  GameSentenceMiner/ocr/gsm_ocr_config.py,sha256=6Ncq79Poolc7htBiusLZfMRlyThxm1Aky1Z4DlGIY58,3940
20
20
  GameSentenceMiner/ocr/ocrconfig.py,sha256=_tY8mjnzHMJrLS8E5pHqYXZjMuLoGKYgJwdhYgN-ny4,6466
21
21
  GameSentenceMiner/ocr/owocr_area_selector.py,sha256=59zrzamPbBeU_Pfdeivc8RawlLXhXqNrhkBrhc69ZZo,47057
22
- GameSentenceMiner/ocr/owocr_helper.py,sha256=nSrAQAUdLpdH2TIOq-3902MGaORLQqzPruGiIzbzcSA,19843
22
+ GameSentenceMiner/ocr/owocr_helper.py,sha256=m_tIqujNTIZKQsqyL7AlzWM394aM77wL2l_S7LNFKlU,19886
23
23
  GameSentenceMiner/ocr/ss_picker.py,sha256=0IhxUdaKruFpZyBL-8SpxWg7bPrlGpy3lhTcMMZ5rwo,5224
24
24
  GameSentenceMiner/owocr/owocr/__init__.py,sha256=87hfN5u_PbL_onLfMACbc0F5j4KyIK9lKnRCj6oZgR0,49
25
25
  GameSentenceMiner/owocr/owocr/__main__.py,sha256=XQaqZY99EKoCpU-gWQjNbTs7Kg17HvBVE7JY8LqIE0o,157
@@ -62,9 +62,9 @@ GameSentenceMiner/web/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
62
62
  GameSentenceMiner/web/templates/index.html,sha256=6Cm_HWGzavgqAvC7SGT0u8R6_kRFUNIEyAzTHDC6c1A,214780
63
63
  GameSentenceMiner/web/templates/text_replacements.html,sha256=tV5c8mCaWSt_vKuUpbdbLAzXZ3ATZeDvQ9PnnAfqY0M,8598
64
64
  GameSentenceMiner/web/templates/utility.html,sha256=3flZinKNqUJ7pvrZk6xu__v67z44rXnaK7UTZ303R-8,16946
65
- gamesentenceminer-2.10.2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
66
- gamesentenceminer-2.10.2.dist-info/METADATA,sha256=IVA9S1C-bwcbxyWOlCage_7zPRO6iZWzFPNOqNXDRuM,7354
67
- gamesentenceminer-2.10.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
68
- gamesentenceminer-2.10.2.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
69
- gamesentenceminer-2.10.2.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
70
- gamesentenceminer-2.10.2.dist-info/RECORD,,
65
+ gamesentenceminer-2.10.3.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
66
+ gamesentenceminer-2.10.3.dist-info/METADATA,sha256=UjHQv68bNu6u8cll7g3vUJLR1SuBnpKVc8nf7s43Emw,7354
67
+ gamesentenceminer-2.10.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
68
+ gamesentenceminer-2.10.3.dist-info/entry_points.txt,sha256=2APEP25DbfjSxGeHtwBstMH8mulVhLkqF_b9bqzU6vQ,65
69
+ gamesentenceminer-2.10.3.dist-info/top_level.txt,sha256=V1hUY6xVSyUEohb0uDoN4UIE6rUZ_JYx8yMyPGX4PgQ,18
70
+ gamesentenceminer-2.10.3.dist-info/RECORD,,