From 50c8fc269b056b9c81297be7c7c83cf02cda0063 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Mon, 14 Sep 2020 13:46:31 -0300 Subject: [PATCH] fix tqdm override and pin version --- lbry/console.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lbry/console.py b/lbry/console.py index 70cde1510..5364d9207 100644 --- a/lbry/console.py +++ b/lbry/console.py @@ -214,7 +214,7 @@ class tqdm2(tqdm): # pylint: disable=invalid-name def format_meter( n, total, elapsed, ncols=None, prefix='', ascii=False, # pylint: disable=redefined-builtin unit='it', unit_scale=False, rate=None, bar_format=None, - postfix=None, unit_divisor=1000, **extra_kwargs + postfix=None, unit_divisor=1000, initial=0, **extra_kwargs ): # sanity check: total diff --git a/setup.py b/setup.py index 30c183f3b..07212ecdc 100644 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ setup( 'pyzmq==18.1.1', 'sqlalchemy@git+https://github.com/sqlalchemy/sqlalchemy.git', 'chiabip158@git+https://github.com/Chia-Network/chiabip158.git', - 'tqdm', + 'tqdm==4.49.0', ], extras_require={ 'ui': ['pyside2'],