Skip to content

Commit

Permalink
Fix warning re: future dates setting. Fixes #3184
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmayer committed Oct 24, 2023
1 parent 777a708 commit fab6e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pelican/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ def configure_settings(settings):
# check content caching layer and warn of incompatibilities
if settings.get('CACHE_CONTENT', False) and \
settings.get('CONTENT_CACHING_LAYER', '') == 'generator' and \
settings.get('WITH_FUTURE_DATES', False):
not settings.get('WITH_FUTURE_DATES', True):
logger.warning(
"WITH_FUTURE_DATES conflicts with CONTENT_CACHING_LAYER "
"set to 'generator', use 'reader' layer instead")
Expand Down

0 comments on commit fab6e1a

Please sign in to comment.