mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-05-06 08:05:15 -04:00
Ban urwid==2.4.3
as containing UI regression.
Fix urwid entities init: use correct `super()`, hack `__super` is officially deprecated. Method <Class>.method(self, ...) is only for fallback in corner cases (normally not recommended to use).
This commit is contained in:
parent
d856f3fd28
commit
ed6ba63317
7 changed files with 31 additions and 31 deletions
|
@ -40,7 +40,7 @@ class LogTerminal(urwid.WidgetWrap):
|
|||
escape_sequence="up",
|
||||
main_loop=self.app.ui.loop,
|
||||
)
|
||||
urwid.WidgetWrap.__init__(self, self.log_term)
|
||||
super().__init__(self.log_term)
|
||||
|
||||
def terminate(self):
|
||||
self.log_term.terminate()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue