1 Commits

Author SHA1 Message Date
  John-Mark Gurney be6a0ec164 python3 3 months ago
1 changed files with 1 additions and 1 deletions
Split View
  1. +1
    -1
      hyde/publisher.py

+ 1
- 1
hyde/publisher.py View File

@@ -45,7 +45,7 @@ class Publisher(with_metaclass(abc.ABCMeta)):
if not settings:
# Find the first configured publisher
try:
publisher = site.config.publisher.__dict__.iterkeys().next()
publisher = next(iter(site.config.publisher.__dict__.keys()))
logger.warning(
"No default publisher configured. Using: %s" % publisher)
settings = attrgetter("publisher.%s" % publisher)(site.config)


Loading…
Cancel
Save