Skip to content

Commit

Permalink
Fixed progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Stef committed Oct 14, 2020
1 parent 3d1b609 commit 2fe471f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/reciever.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ func Reciever(code string) {
if err != nil {
panic(err)
}
bar.Add(len(strm.Content))
decryptedContent,err := utils.Decrypt(strm.Content,&finalKey)
bar.Add(len(decryptedContent))
if err != nil {
log.Printf("Error : %v", err)
return
Expand Down

0 comments on commit 2fe471f

Please sign in to comment.