Skip to content

Commit

Permalink
fix retrocompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-bellenghi committed Mar 7, 2024
1 parent de6ac5d commit 6c06108
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/redturtle/volto/adapters/rss.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
from DateTime import DateTime
from plone.app.contenttypes.interfaces import IEvent
from plone.base.interfaces.syndication import IFeed
try:
from plone.base.interfaces.syndication import IFeed
except ModuleNotFoundError:
from Products.CMFPlone.interfaces.syndication import IFeed

from Products.CMFPlone.browser.syndication.adapters import DexterityItem
from zope.component import adapter

Expand Down

0 comments on commit 6c06108

Please sign in to comment.