def restoreToon(self, avId): av = self.air.doId2do[avId] toonSerializer = ToonSerializer(av) toonSerializer.restoreToon()