Skip to content

Commit

Permalink
bump version, fix notebook formatting
Browse files Browse the repository at this point in the history
- fixes e602bb5 from #1015
  • Loading branch information
casperdcl committed Aug 3, 2020
1 parent 84923d7 commit f0e0144
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tqdm/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__all__ = ["__version__"]

# major, minor, patch, -extra
version_info = 4, 48, 1
version_info = 4, 48, 2

# Nice string for the version
__version__ = '.'.join(map(str, version_info))
Expand Down
2 changes: 1 addition & 1 deletion tqdm/notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def status_printer(_, total=None, desc=None, ncols=None):

@staticmethod
def format_meter(n, total, *args, **kwargs):
if total and 'bar_format' not in kwargs:
if total and kwargs.get('bar_format', None) is None:
kwargs = kwargs.copy()
kwargs['bar_format'] = "{l_bar}<bar/>{r_bar}"
return std_tqdm.format_meter(n, total, *args, **kwargs)
Expand Down

0 comments on commit f0e0144

Please sign in to comment.