use App.ImageFile.ImageFile instead of ImageFile, to initialize product icon...

use App.ImageFile.ImageFile instead of ImageFile, to initialize product icon images in Zope context, as the later break if directory layouts don't match expectations

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/portal_types@29487 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 50743f16
......@@ -93,7 +93,7 @@ from db import ThreadedDB
import Shared.DC.ZRDB.Connection, sys, DABase
from App.Dialogs import MessageDialog
from App.special_dtml import HTMLFile
from ImageFile import ImageFile
from App.ImageFile import ImageFile
from ExtensionClass import Base
from DateTime import DateTime
from thread import allocate_lock
......
......@@ -90,7 +90,7 @@ from db import ThreadedDeferredDB
import Shared.DC.ZRDB.Connection, sys, DABase
from App.Dialogs import MessageDialog
from App.special_dtml import HTMLFile
from ImageFile import ImageFile
from App.ImageFile import ImageFile
from ExtensionClass import Base
from DateTime import DateTime
from thread import allocate_lock
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment