Skip to content

Commit 4c1f673

Browse files
authored
Revert "tmp: [JP] OCR_REMAIN in daily" (#4521)
This reverts commit ba27a51.
1 parent 53572f9 commit 4c1f673

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

module/daily/daily.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import numpy as np
22

3-
import module.config.server as server
43
from module.base.utils import get_color
54
from module.combat.assets import BATTLE_PREPARATION
65
from module.combat.combat import Combat
@@ -12,10 +11,7 @@
1211
from module.ui.page import page_campaign_menu, page_daily
1312

1413
DAILY_MISSION_LIST = [DAILY_MISSION_1, DAILY_MISSION_2, DAILY_MISSION_3]
15-
if server.server != 'jp':
16-
OCR_REMAIN = Digit(OCR_REMAIN, threshold=128, alphabet='01234')
17-
else:
18-
OCR_REMAIN = Digit(OCR_REMAIN, letter=(201, 201, 201), threshold=128, alphabet='01234')
14+
OCR_REMAIN = Digit(OCR_REMAIN, threshold=128, alphabet='01234')
1915
OCR_DAILY_FLEET_INDEX = Digit(OCR_DAILY_FLEET_INDEX, letter=(90, 154, 255), threshold=128, alphabet='123456')
2016

2117

0 commit comments

Comments
 (0)