mirror of
https://github.com/Luzifer/share.git
synced 2024-12-20 02:21:17 +00:00
Fix: Complete bar even for very small files
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
549f0d1f36
commit
b23b7b937b
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ func executeUpload(inFileName string, inFileHandle io.ReadSeeker, useCalculatedF
|
|||
|
||||
defer func() {
|
||||
barUpdate = false
|
||||
bar.SetCurrent(ps.Progress)
|
||||
bar.Finish()
|
||||
}()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue