def getDeptTotal(self): ws = self.currentFile["Sheet1"] dept = self.tkvar.get() total = DataService.sumDept(dept, ws) return str(total)