talhusain / SlothTorrent

8 stars 3 forks source link

Small fix for torrent.py #83

Closed squidmin closed 7 years ago

squidmin commented 7 years ago

Typing issue with the timestamp for creation date was uncovered after I changed the creation date key to the proper string in db.get_torrent(). Had to cast timestamp to float type to fix the issue, as mentioned in the group's #implementation Slack channel.

badstreff commented 7 years ago

@squidmin I understand now, this is intentional since the torrent files themselves have a float (unix timstamp) for that field. You will need to handle this at the get_torrent level, not the torrent.py level.

squidmin commented 7 years ago

Thanks! Taking care of this when I arrive home in a little bit.