1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-13 11:32:20 -05:00

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: