Mercurial > touhou
diff pytouhou/resource/loader.py @ 764:d18c0bf11138
Python: Use logger.warning() as logger.warn() is deprecated
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 26 Aug 2022 18:55:39 +0200 |
parents | d1f0bb0b7a17 |
children | 79c3f782dd41 |
line wrap: on
line diff
--- a/pytouhou/resource/loader.py +++ b/pytouhou/resource/loader.py @@ -128,7 +128,7 @@ class Loader: def get_anm(self, name): if name in self.loaded_anms: - logger.warn('ANM0 %s already loaded', name) + logger.warning('ANM0 %s already loaded', name) file = self.get_file(name) anm = ANM0.read(file) self.instanced_anms[name] = anm