This commit is contained in:
Kovid Goyal 2016-01-10 09:13:50 +05:30
parent b400c4bc74
commit af9ab25090

View File

@ -534,9 +534,8 @@ class Worker(Thread): # Get details {{{
desc = nr.xpath('//div[@id="productDescription"]/*[@class="content"]') desc = nr.xpath('//div[@id="productDescription"]/*[@class="content"]')
if desc: if desc:
ans += self._render_comments(desc[0]) ans += self._render_comments(desc[0])
except Exception: except Exception as e:
import traceback self.log.warn('Parsing of obfuscated product description failed with error: %s' % as_unicode(e))
traceback.print_exc()
return ans return ans