I've had to make another change.
in print_version, I have changed
if '/news/' in url or '/blog/ in url':
for
if '/news/' in url or '/blog/' in url:
This was an error in the original recipe (or in my copy).
Now it seems to be working well.
Best regards
|