Skip to content

Commit 7e7d27e

Browse files
authored
Change Finished to `Total downloads, fix some typos (#47)
Change `Finished downloads` to `Total downloads - fix typos
1 parent 3a6afd3 commit 7e7d27e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/pyloadapi/cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ async def _status() -> None:
101101
free_space = await api.free_space()
102102
click.echo(
103103
f"Status:\n"
104-
f" - Active Downloads: {stat['active']}\n"
105-
f" - Items in Queue: {stat['queue']}\n"
106-
f" - Finished Downloads: {stat['total']}\n"
107-
f" - Download Speed: {round((stat['speed'] * 8) / 1000000, 2) } Mbit/s\n"
104+
f" - Active downloads: {stat['active']}\n"
105+
f" - Items in queue: {stat['queue']}\n"
106+
f" - Total downloads: {stat['total']}\n"
107+
f" - Download speed: {round((stat['speed'] * 8) / 1000000, 2) } Mbit/s\n"
108108
f" - Free space: {round(free_space / (1024 ** 3), 2)} GiB\n"
109109
f" - Reconnect: {'Enabled' if stat['reconnect'] else 'Disabled'}\n"
110110
f" - Queue : {'Paused' if stat['pause'] else 'Running'}\n"

tests/test_cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ def test_status() -> None:
2424
assert result.exit_code == 0
2525
assert result.output == (
2626
"Status:\n"
27-
" - Active Downloads: 10\n"
28-
" - Items in Queue: 5\n"
29-
" - Finished Downloads: 15\n"
30-
" - Download Speed: 80.0 Mbit/s\n"
27+
" - Active downloads: 10\n"
28+
" - Items in queue: 5\n"
29+
" - Total downloads: 15\n"
30+
" - Download speed: 80.0 Mbit/s\n"
3131
" - Free space: 100.0 GiB\n"
3232
" - Reconnect: Disabled\n"
3333
" - Queue : Running\n\n"

0 commit comments

Comments
 (0)