Print a debug message if debug mode is enabled.
(self, message)
| 2016 | prepared copies, so a status with several images shares them rather than |
| 2017 | re-decoding. Runs whether or not the unit is currently female — cheap, |
| 2018 | and the unit's name can change at runtime.""" |
| 2019 | self.female_image_series = {} |
| 2020 | self._color_sprite_cache = {} |
| 2021 | woman_dir = os.path.join(self.statuspicdir, 'woman') |
| 2022 | if not os.path.isdir(woman_dir): |
| 2023 | logger.info("No status/woman directory — female frames unavailable.") |
| 2024 | return |