myems-api/excelexporters/equipmenttracking.py
Function generate_excel
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def generate_excel(report, space_name, language):
trans = get_translation(language)
trans.install()
_ = trans.gettext
wb = Workbook()