fixing eposh problems

This commit is contained in:
bt0dotninja 2020-03-11 10:50:16 -06:00
commit 96292db3c1
3 changed files with 7 additions and 6 deletions

View file

@ -26,7 +26,7 @@ unicode_json = {}
def return_epoch(time):
if time == '':
return ''
tup = map(int, time.split('/'))
tup =list( map(int, time.split('/')))
l = (tup[2], tup[0], tup[1], 0, 0, 0)
epochs = calendar.timegm(l)
return (int(epochs))