mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-13 13:02:12 +00:00
Compare commits
4
Commits
sync_src
...
ecc747ff94
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ecc747ff94
|
||
|
|
f04f38ec07
|
||
|
|
98088eeaf0
|
||
|
|
e1c9c16bcb |
+2
-2
@@ -360,7 +360,7 @@ class Ocr:
|
||||
|
||||
|
||||
class Digit(Ocr):
|
||||
def __init__(self, button: ButtonWrapper, lang=None, name=None):
|
||||
def __init__(self, button: ButtonWrapper, lang='en', name=None):
|
||||
super().__init__(button, lang=lang, name=name)
|
||||
|
||||
def format_result(self, result) -> int:
|
||||
@@ -380,7 +380,7 @@ class Digit(Ocr):
|
||||
|
||||
|
||||
class DigitCounter(Ocr):
|
||||
def __init__(self, button: ButtonWrapper, lang=None, name=None):
|
||||
def __init__(self, button: ButtonWrapper, lang='en', name=None):
|
||||
super().__init__(button, lang=lang, name=name)
|
||||
|
||||
@classmethod
|
||||
|
||||
@@ -195,7 +195,6 @@ class Updater(DeployConfig, GitManager, PipManager):
|
||||
|
||||
def update(self):
|
||||
logger.hr("Run update")
|
||||
self.set_repo()
|
||||
try:
|
||||
self.git_install()
|
||||
self.pip_install()
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
#
|
||||
# pip-compile --annotation-style=line --output-file=requirements.txt requirements-in.txt
|
||||
#
|
||||
--index-url http://mirrors.aliyun.com/pypi/simple
|
||||
#--index-url https://mirrors.aliyun.com/pypi/simple
|
||||
|
||||
adbutils==1.2.9 # via -r requirements-in.txt, uiautomator2
|
||||
aiofiles==23.1.0 # via -r requirements-in.txt
|
||||
|
||||
Reference in New Issue
Block a user