We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a85a765 commit fceb04aCopy full SHA for fceb04a
src/modules/adsb-feeder/filesystem/root/opt/adsb/adsb-setup/app.py
@@ -1119,10 +1119,7 @@ def restore(self):
1119
with open(restore_path / filename, "bw") as f:
1120
# this while loop looks backwards but it's not because we start with the first chunk
1121
# we read further up in this function
1122
- while True:
1123
- if len(chunk) == 0:
1124
- break
1125
-
+ while len(chunk) > 0:
1126
received_bytes += len(chunk)
1127
if time.time() > next_progress:
1128
next_progress = time.time() + 5
0 commit comments