Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
oops
  • Loading branch information
ralsina committed Aug 21, 2015
1 parent a987c7c commit 8e00835
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nikola/nikola.py
Expand Up @@ -1067,7 +1067,6 @@ def rewrite_links(self, doc, src, lang):
objs = list(doc.findall('*//img')) + list(doc.findall('*//source'))
for obj in objs:
if 'srcset' in obj.attrib:
from doit.tools import set_trace; set_trace()
urls = [u.strip() for u in obj.attrib['srcset'].split(',')]
urls = [self.url_replacer(src, dst, lang) for dst in urls]
obj.set('srcset', ', '.join(urls))
Expand Down

0 comments on commit 8e00835

Please sign in to comment.