diff --git a/recipes/natgeo.recipe b/recipes/natgeo.recipe index 3c46c7ae35..f2c054aa92 100644 --- a/recipes/natgeo.recipe +++ b/recipes/natgeo.recipe @@ -1,6 +1,7 @@ #!/usr/bin/env python # vim:fileencoding=utf-8 from pprint import pformat + from calibre.web.feeds.news import BasicNewsRecipe, classes diff --git a/recipes/natgeomag.recipe b/recipes/natgeomag.recipe index 97f9852961..2826d8c1a0 100644 --- a/recipes/natgeomag.recipe +++ b/recipes/natgeomag.recipe @@ -2,6 +2,7 @@ # vim:fileencoding=utf-8 from datetime import date from pprint import pformat + from calibre.web.feeds.news import BasicNewsRecipe, classes diff --git a/src/calibre/web/site_parsers/natgeo.py b/src/calibre/web/site_parsers/natgeo.py index 6990bd2fdc..007515725d 100644 --- a/src/calibre/web/site_parsers/natgeo.py +++ b/src/calibre/web/site_parsers/natgeo.py @@ -1,11 +1,6 @@ #!/usr/bin/env python -from __future__ import ( - absolute_import, - division, - print_function, - unicode_literals, -) +from __future__ import absolute_import, division, print_function, unicode_literals import json from pprint import pprint @@ -13,7 +8,6 @@ from pprint import pprint from calibre import prepare_string_for_xml as escape from calibre.utils.iso8601 import parse_iso8601 - module_version = 1 # needed for live updates pprint