Port:Fix omgwtfnzbs findPropers.

This commit is contained in:
JackDandy 2014-06-10 13:31:51 +01:00
parent b9c22582cf
commit ff524fc7e4

View file

@ -142,8 +142,8 @@ class OmgwtfnzbsProvider(generic.NZBProvider):
title, url = self._get_title_and_url(item)
try:
result_date = datetime.fromtimestamp(item['usenetage'])
except TypeError:
result_date = datetime.fromtimestamp(int(item['usenetage']))
except:
result_date = None
if result_date: