4 Commits
3 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -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
-1
View File
@@ -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
View File
@@ -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