mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 08:26:01 -04:00
Fix issue #4596
Make synapse_port_db --curses work with Python 3. Signed-off-by: Anders Jensen-Waud <anders@jensenwaud.com>
This commit is contained in:
parent
4c552ed78a
commit
2a59e8e429
2 changed files with 2 additions and 1 deletions
|
@ -811,7 +811,7 @@ class CursesProgress(Progress):
|
|||
middle_space = 1
|
||||
|
||||
items = self.tables.items()
|
||||
items.sort(key=lambda i: (i[1]["perc"], i[0]))
|
||||
items = sorted(items, key=lambda i: (i[1]["perc"], i[0]))
|
||||
|
||||
for i, (table, data) in enumerate(items):
|
||||
if i + 2 >= rows:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue