Compare commits
No commits in common. "5a76734072908edef0b722918da56f90f7a20a27" and "16d0c0dee3746cf77786b1826f93e52c6d68c5cc" have entirely different histories.
5a76734072
...
16d0c0dee3
2 changed files with 1 additions and 5 deletions
|
|
@ -40,7 +40,7 @@ def kbps_argparse(args):
|
||||||
|
|
||||||
(time, size, kibs) = kbps(time=time, size=size, kbps=kibs)
|
(time, size, kibs) = kbps(time=time, size=size, kbps=kibs)
|
||||||
|
|
||||||
print(f'{hms.seconds_to_hms_letters(time)} @ {round(kibs, 4)} kbps = {bytestring.bytestring(size)}')
|
print(f'{hms.seconds_to_hms(time)} @ {kibs} kbps = {bytestring.bytestring(size)}')
|
||||||
|
|
||||||
def main(argv):
|
def main(argv):
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
|
|
|
||||||
|
|
@ -279,10 +279,6 @@ def copy_directory(
|
||||||
written_bytes = 0
|
written_bytes = 0
|
||||||
|
|
||||||
for (source_file, destination_file) in walker:
|
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():
|
if stop_event and stop_event.is_set():
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue