mirror of https://github.com/testerSunshine/12306
增加错误信息打印
parent
42cba656e7
commit
de76b2c8ab
|
@ -10,4 +10,4 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|||
#EXPOSE 5010
|
||||
|
||||
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.show()
|
||||
return codexy()
|
||||
except:
|
||||
pass
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
||||
|
||||
def codexy(Ofset=None, is_raw_input=True):
|
||||
|
|
Loading…
Reference in New Issue