mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-11 23:45:29 +08:00
Reformat file with black
This commit is contained in:
parent
fe15bcf0c5
commit
d91d4b4952
1 changed files with 2 additions and 2 deletions
|
@ -372,7 +372,7 @@ def gui_thread_runner(
|
|||
).human_iec_bytes
|
||||
)
|
||||
restore_speed_history.append(instant_throughput_per_second)
|
||||
# Keep only last 300 seconds of restore speed history
|
||||
# Keep only last 300 seconds of restore speed history
|
||||
restore_speed_history = restore_speed_history[-300:]
|
||||
restore_data["average_5m_throughput_per_second"] = (
|
||||
BytesConverter(
|
||||
|
@ -418,7 +418,7 @@ def gui_thread_runner(
|
|||
loop_counter += 1
|
||||
|
||||
if restore_data:
|
||||
stdout_cache = json.dumps(restore_data, indent=4) + '\n\n' + stdout_cache
|
||||
stdout_cache = json.dumps(restore_data, indent=4) + "\n\n" + stdout_cache
|
||||
_update_gui_from_cache(stdout_cache, stderr_cache)
|
||||
|
||||
progress_window["--CANCEL--"].Update(disabled=True)
|
||||
|
|
Loading…
Add table
Reference in a new issue