Skip to content

Commit

Permalink
adapt for Plone 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
erral committed Oct 17, 2023
1 parent efb7e2b commit 4a0ec94
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plone/restapi/services/site/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@
from plone.registry.interfaces import IRegistry
from plone.restapi.interfaces import IExpandableElement
from plone.restapi.services import Service
from Products.CMFPlone.utils import getSiteLogo
from zope.component import adapter
from zope.component import getMultiAdapter
from zope.component import getUtility
from zope.interface import implementer
from zope.interface import Interface

try:
from Products.CMFPlone.utils import getSiteLogo
except ImportError:
getSiteLogo = None
try:
from Products.CMFPlone.interfaces import IImagingSchema
except ImportError:
Expand Down

0 comments on commit 4a0ec94

Please sign in to comment.