Example #1
0
def GUI_app_close(n_clicks):
    if n_clicks != 0:
        system.close()
    return u'closed'
Example #2
0
def API_close():
    system.close()
    return jsonify({'message': 'Webbrowser closed', 'rc': 0})