1
0
Fork 0
mirror of https://github.com/Luzifer/share.git synced 2024-12-20 10:31:16 +00:00

Fix: Complete bar even for very small files

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-03-18 20:18:22 +01:00
parent 549f0d1f36
commit b23b7b937b
Signed by: luzifer
SSH key fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E

View file

@ -94,6 +94,7 @@ func executeUpload(inFileName string, inFileHandle io.ReadSeeker, useCalculatedF
defer func() {
barUpdate = false
bar.SetCurrent(ps.Progress)
bar.Finish()
}()
}