# HG changeset patch # User phoku@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1237033931 0 # Node ID 6214a0b91eb2349ef0464a23e4e82d67780d23a7 # Parent 54bfd1015b35d793453d947ed07a824bee52c76e Fix: pychan/compat.py should not depend on pythonize. diff -r 54bfd1015b35 -r 6214a0b91eb2 engine/extensions/pychan/compat.py --- 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: