Mercurial > fife-parpg
changeset 206:6214a0b91eb2
Fix: pychan/compat.py should not depend on pythonize.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sat, 14 Mar 2009 12:32:11 +0000 |
parents | 54bfd1015b35 |
children | 40257a6dc57d |
files | engine/extensions/pychan/compat.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/engine/extensions/pychan/compat.py Sat Mar 14 12:13:29 2009 +0000 +++ b/engine/extensions/pychan/compat.py Sat Mar 14 12:32:11 2009 +0000 @@ -1,4 +1,4 @@ -# coding: utf-8 +# -*- coding: utf-8 -*- in_fife = None guichan = None @@ -38,7 +38,7 @@ guimanager = engine.getGuiManager() def _fife_load_image(filename): - index = engine.imagePool.addResourceFromFile(filename) + index = engine.getImagePool().addResourceFromFile(filename) return guichan.GuiImage(index,engine.getImagePool()) class hook: