Merge pull request #610 from JackDandy/port_fix_omgwtfnzbs_findPropers

Port:Fix omgwtfnzbs findPropers.
This commit is contained in:
echel0n 2014-06-19 09:46:58 -07:00
commit 1fa8686422

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: