Fix return value.
This commit is contained in:
parent
93a63adbcd
commit
269dc00445
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class PeerTerminal(aiocmd.Cmd):
|
|||
|
||||
async def do_list_files(self, arg):
|
||||
try:
|
||||
await self._peer.list_file()
|
||||
file_list_dict = await self._peer.list_file()
|
||||
except TrackerNotConnectedError:
|
||||
print('Tracker is not connected, try \'connect <tracker_ip> <tracker_port>\' to connect.')
|
||||
except (ConnectionError, RuntimeError, IncompleteReadError):
|
||||
|
|
Loading…
Reference in a new issue