Compare commits

...

2 commits

2 changed files with 5 additions and 1 deletions

View file

@ -40,7 +40,7 @@ def kbps_argparse(args):
(time, size, kibs) = kbps(time=time, size=size, kbps=kibs)
print(f'{hms.seconds_to_hms(time)} @ {kibs} kbps = {bytestring.bytestring(size)}')
print(f'{hms.seconds_to_hms_letters(time)} @ {round(kibs, 4)} kbps = {bytestring.bytestring(size)}')
def main(argv):
parser = argparse.ArgumentParser()

View file

@ -279,6 +279,10 @@ def copy_directory(
written_bytes = 0
for (source_file, destination_file) in walker:
if not source_file.is_file:
log.warning('%s disappeared during directory copy.', source_file.absolute_path)
continue
if stop_event and stop_event.is_set():
break