rndusr / stig

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

fix: catch the correct exception in _redraw_screen #239

Closed rsekman closed 9 months ago

rsekman commented 9 months ago

on startup _redraw_screen can be called before the urwid event loop has started, in which case draw_screen throws. (this is harmless.) before urwid commit 9e72578, it would throw AssertionError; as of 9e72578 it throws RuntimeError. this fix ensures both are caught.

rndusr commented 9 months ago

I made a new release.

Thanks a lot for keeping track with urwid!

rsekman commented 9 months ago

Oh, it's nothing. I use stig daily so these fixes are for my own benefit, too, and they're easy enough.