datetime.fromtimestamp requires a float()

Fix pep8 warning at the same time
Merge pull request #50 from fedora-infra/feature/fix_end_timestamp

datetime.fromtimestamp requires a float()