mirror of
https://github.com/nikdoof/tvorganise.git
synced 2025-12-13 23:02:16 +00:00
Tidy up progress bar display code
This commit is contained in:
@@ -126,7 +126,7 @@ def copy_with_prog(src_file, dest_file, overwrite = False, block_size = 512):
|
|||||||
cur_block_pos += block_size
|
cur_block_pos += block_size
|
||||||
|
|
||||||
sys.stdout.write(
|
sys.stdout.write(
|
||||||
'\r' + str(prgb) + '\r'
|
'\r%s\r' % str(prgb)
|
||||||
)
|
)
|
||||||
|
|
||||||
# If it's the end of file
|
# If it's the end of file
|
||||||
|
|||||||
Reference in New Issue
Block a user