def clearLogs(self,data,sendResponse): if softwareManager.clearLogs(): sendResponse({'success': 'no_error'}) else: sendResponse("error_clear_logs",True) return
def clearLogs(): if softwareManager.clearLogs(): return jsonify() else: return ("There was an error trying to clear your logs.", 500)
def clearLogs(): if softwareManager.clearLogs(): return jsonify(); else: return ("There was an error trying to clear your logs.", 500)