Print the download message.
This commit is contained in:
parent
606f1ac98d
commit
e7016c9a98
1 changed files with 2 additions and 1 deletions
|
@ -78,7 +78,8 @@ class PeerTerminal(cmd.Cmd):
|
|||
if current == total:
|
||||
print('Downloading {} ['.format(filename) + 30 * '=' + '>] 100%')
|
||||
|
||||
self._peer.download(filename, destionation, progress)
|
||||
_, message = self._peer.download(filename, destionation, progress)
|
||||
print(message)
|
||||
|
||||
def do_exit(self, arg):
|
||||
self._peer.exit()
|
||||
|
|
Loading…
Reference in a new issue