epson-tm-t20iii #1
@ -87,7 +87,11 @@ def api_print_sms():
|
|||||||
flash(e)
|
flash(e)
|
||||||
redirect(url_for('index'))
|
redirect(url_for('index'))
|
||||||
|
|
||||||
flash(web.print_sms(txt,sign))
|
try:
|
||||||
|
web.print_sms(txt,sign)
|
||||||
|
except Exception as e:
|
||||||
|
pass
|
||||||
|
|
||||||
return redirect(url_for('index'))
|
return redirect(url_for('index'))
|
||||||
|
|
||||||
@app.route('/api/print/image', methods=['POST'])
|
@app.route('/api/print/image', methods=['POST'])
|
||||||
|
Loading…
Reference in New Issue
Block a user