rndusr / stig

TUI and CLI for the BitTorrent client Transmission
GNU General Public License v3.0
554 stars 24 forks source link

fix: catch a ZeroDivisionError in calculating peer ETA #241

Closed rsekman closed 8 months ago

rsekman commented 8 months ago

this can cause a crash if a magnet torrent is still discovering (so its size is zero), but a peer sees progress

rndusr commented 8 months ago

Thanks! I made a new release.

For future PRs, it would makes things easier for me if you could use current master as the base.

rsekman commented 8 months ago

For future PRs, it would makes things easier for me if you could use current master as the base.

Of course. I thought I did, but I had the local repo's master set to track the wrong remote. Got that sorted out now.