增加错误信息打印
parent
42cba656e7
commit
de76b2c8ab
|
@ -10,4 +10,4 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||||
#EXPOSE 5010
|
#EXPOSE 5010
|
||||||
|
|
||||||
WORKDIR /usr/src/app/
|
WORKDIR /usr/src/app/
|
||||||
CMD [ "python", "start.py" ]
|
CMD [ "python", "run.py" ]
|
||||||
|
|
|
@ -29,8 +29,8 @@ def getRandCode(is_auto_code, auto_code_type, result):
|
||||||
img = Image.open('./tkcode')
|
img = Image.open('./tkcode')
|
||||||
img.show()
|
img.show()
|
||||||
return codexy()
|
return codexy()
|
||||||
except:
|
except Exception as e:
|
||||||
pass
|
print(e)
|
||||||
|
|
||||||
|
|
||||||
def codexy(Ofset=None, is_raw_input=True):
|
def codexy(Ofset=None, is_raw_input=True):
|
||||||
|
|
Loading…
Reference in New Issue