Skip to content

Commit 787f3b2

Browse files
committed
minor forward-compatibility, flake8
1 parent 257f64d commit 787f3b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tqdm/_tqdm_pandas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def inner(df, func, *args, **kwargs):
6060
# Init bar
6161
if isinstance(tclass, type) or \
6262
(hasattr(tclass, '__name__') and
63-
tclass.__name__ == 'tqdm_notebook'): # delayed adapter case
63+
tclass.__name__.startswith('tqdm_')): # delayed adapter case
6464
t = tclass(*targs, total=total, **tkwargs)
6565
else:
6666
t = tclass

0 commit comments

Comments
 (0)