def trigger(self, ui):
        ui.remove_glyph(self.deceased)

        if self.deceased == ui.model.player:
            ui.EndScreenRequested.emit()
Check for errors before writing a file to the archive.
dataset/ETHPy150Open tuturto/pyherc/src/herculeum/ui/gui/animations/death.py/DeathAnimation.trigger--crossover with--dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/zipfile.py/ZipFile._writecheck