Fix "transfered" → "transferred" spelling
This commit is contained in:
parent
b0cf708246
commit
c16731b239
2
TODO.md
2
TODO.md
@ -1,13 +1,11 @@
|
||||
# TODO
|
||||
|
||||
|
||||
- Make dark bar extend down pane
|
||||
- Verify default size
|
||||
|
||||
## Media
|
||||
|
||||
- Clean up gui test md
|
||||
- Send the monitor PR
|
||||
- nio ClientTimeout
|
||||
|
||||
- Handle set avatar upload errors
|
||||
|
@ -257,14 +257,14 @@ class MatrixClient(nio.AsyncClient):
|
||||
upload_item = Upload(item_uuid, task, monitor, path, total_size=size)
|
||||
self.models[Upload, room_id][str(item_uuid)] = upload_item
|
||||
|
||||
def on_transfered(transfered: int) -> None:
|
||||
upload_item.uploaded = transfered
|
||||
def on_transferred(transferred: int) -> None:
|
||||
upload_item.uploaded = transferred
|
||||
|
||||
def on_speed_changed(speed: float) -> None:
|
||||
upload_item.speed = speed
|
||||
upload_item.time_left = monitor.remaining_time
|
||||
|
||||
monitor.on_transfered = on_transfered
|
||||
monitor.on_transferred = on_transferred
|
||||
monitor.on_speed_changed = on_speed_changed
|
||||
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user