Permalink
Browse files

whatever

  • Loading branch information...
ralsina committed May 24, 2017
1 parent ee96e2a commit fb06046ca8c953f2fcdabaa43e450b4dd5c89104
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/nikola.py
View
@@ -950,7 +950,7 @@ def __init__(self, **config):
# TODO: remove in v8, or earlier
if ('THEME_REVEAL_CONFIG_SUBTHEME' in config or 'THEME_REVEAL_CONFIG_TRANSITION' in config or
(self.config['THEME'] in ('reveal', 'reveal-jinja') and
('subtheme' not in config.GLOBAL_CONTEXT or 'transition' not in config.GLOBAL_CONTEXT))):
('subtheme' not in config['GLOBAL_CONTEXT'] or 'transition' not in config['GLOBAL_CONTEXT']))):
utils.LOGGER.warn('The THEME_REVEAL_CONFIG_* settings are deprecated. Use `subtheme` and `transition` in GLOBAL_CONTEXT instead.')
self._GLOBAL_CONTEXT['subtheme'] = config.get('THEME_REVEAL_CONFIG_SUBTHEME', 'sky')
self._GLOBAL_CONTEXT['transition'] = config.get('THEME_REVEAL_CONFIG_TRANSITION', 'cube')

0 comments on commit fb06046

Please sign in to comment.