mirror of https://github.com/tqdm/tqdm.git
slight tidy
This commit is contained in:
parent
bda614a39b
commit
123cb1c036
|
@ -157,8 +157,7 @@ class tqdm_notebook(std_tqdm):
|
|||
pbar.value = self.n
|
||||
|
||||
if msg:
|
||||
# take care of space padding in html
|
||||
msg=msg.translate({ord(' ') : u'\u2007'})
|
||||
msg = msg.replace(' ', u'\u2007') # fix html space padding
|
||||
# html escape special characters (like '&')
|
||||
if '<bar/>' in msg:
|
||||
left, right = map(escape, re.split(r'\|?<bar/>\|?', msg, maxsplit=1))
|
||||
|
|
Loading…
Reference in New Issue