View Single Post
Old 04-06-2011, 03:46 AM   #2
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Dec 2010
Device: kindle voyage
I assume your recipe has the correct indentation, what you've written would not run in Python. The feed links have a '0C' instead of '/', so your function must be

Code:
def print_version(self, url):
    return url.replace('artykuly0Cpokaz', 'drukuj-artykul')
bubak is offline   Reply With Quote