pep8
This commit is contained in:
		@@ -53,8 +53,7 @@ def print_progress_bar(text, done, total, width):
 | 
				
			|||||||
    Print progress bar.
 | 
					    Print progress bar.
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
    n = int(float(width) * float(done) / float(total))
 | 
					    n = int(float(width) * float(done) / float(total))
 | 
				
			||||||
    sys.stdout.write("\r{0} [{1}{2}] ({3}/{4})".format(text, '#' * n,
 | 
					    sys.stdout.write("\r{0} [{1}{2}] ({3}/{4})".format(text, '#' * n, ' ' * (width - n), done, total))
 | 
				
			||||||
                                              ' ' * (width - n), done, total))
 | 
					 | 
				
			||||||
    sys.stdout.flush()
 | 
					    sys.stdout.flush()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ------------------------------------------------------------------------------
 | 
					# ------------------------------------------------------------------------------
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user