Skip to content

Commit d1118e5

Browse files
authored
Merge pull request markqvist#73 from Sudo-Ivan/upstream-main-snapshot
Fix Scrollable.py
2 parents 4eed5ba + b9ac735 commit d1118e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nomadnet/vendor/Scrollable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __init__(self, widget, force_forward_keypress = False):
5050
self._old_cursor_coords = None
5151
self._rows_max_cached = 0
5252
self.force_forward_keypress = force_forward_keypress
53-
self.__super.__init__(widget)
53+
super().__init__(widget)
5454

5555
def render(self, size, focus=False):
5656
maxcol, maxrow = size
@@ -340,7 +340,7 @@ def __init__(self, widget, thumb_char=u'\u2588', trough_char=' ',
340340
"""
341341
if BOX not in widget.sizing():
342342
raise ValueError('Not a box widget: %r' % widget)
343-
self.__super.__init__(widget)
343+
super().__init__(widget)
344344
self._thumb_char = thumb_char
345345
self._trough_char = trough_char
346346
self.scrollbar_side = side

0 commit comments

Comments
 (0)