Exemplo n.º 1
0
	def clearLogs(self,data,sendResponse):
		if softwareManager.clearLogs():
			sendResponse({'success': 'no_error'})
		else:
			sendResponse("error_clear_logs",True)

		return
Exemplo n.º 2
0
def clearLogs():
    if softwareManager.clearLogs():
        return jsonify()
    else:
        return ("There was an error trying to clear your logs.", 500)
Exemplo n.º 3
0
def clearLogs():
	if softwareManager.clearLogs():
		return jsonify();
	else:
		return ("There was an error trying to clear your logs.", 500)