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

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