Fix timestamp reference for completion dates
This commit is contained in:
parent
be330115a1
commit
62aebf26b6
@ -115,8 +115,8 @@ def scan_torrents(qb_client, engine):
|
||||
)
|
||||
if not torrent_instance:
|
||||
completed_on = (
|
||||
datetime.fromtimestamp(torrent.completed)
|
||||
if torrent.completed
|
||||
datetime.fromtimestamp(torrent.completion_on)
|
||||
if torrent.completion_on
|
||||
else None
|
||||
)
|
||||
torrent_instance = Torrent(
|
||||
|
Loading…
x
Reference in New Issue
Block a user