Browse Source

python3

main
John-Mark Gurney 3 months ago
parent
commit
be6a0ec164
1 changed files with 1 additions and 1 deletions
  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