From b4aa579d1b0b32d490b0b8c7855218ddee2a7ba0 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Thu, 12 Sep 2024 11:48:53 -0700 Subject: [PATCH] python3 --- hyde/publisher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyde/publisher.py b/hyde/publisher.py index 9d082be..d32bf60 100644 --- a/hyde/publisher.py +++ b/hyde/publisher.py @@ -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 = site.config.publisher.__dict__.keys().next() logger.warning( "No default publisher configured. Using: %s" % publisher) settings = attrgetter("publisher.%s" % publisher)(site.config)