Fix some typos
This commit is contained in:
@@ -135,7 +135,7 @@ async def main():
|
|||||||
peer_group_id = get_peer_group_id(password)
|
peer_group_id = get_peer_group_id(password)
|
||||||
|
|
||||||
if role == 'send':
|
if role == 'send':
|
||||||
print('Run the following command on the remote party:\n\n', send_part, server_part, passwd_part, "\n")
|
print('Run the following command on the remote party:\n\n', send_part, passwd_part, server_part, "\n")
|
||||||
filename = os.path.basename(file_path)
|
filename = os.path.basename(file_path)
|
||||||
file_size = os.path.getsize(file_path)
|
file_size = os.path.getsize(file_path)
|
||||||
chunk_id = 0
|
chunk_id = 0
|
||||||
@@ -162,7 +162,7 @@ async def main():
|
|||||||
proceed = await ws.recv()
|
proceed = await ws.recv()
|
||||||
bar.next()
|
bar.next()
|
||||||
bar.suffix = '%(percent).1f%% done'
|
bar.suffix = '%(percent).1f%% done'
|
||||||
print("\n")
|
print("")
|
||||||
|
|
||||||
if role =='receive':
|
if role =='receive':
|
||||||
async with websockets.connect(WS_RELAY_SERVER) as ws:
|
async with websockets.connect(WS_RELAY_SERVER) as ws:
|
||||||
|
|||||||
Reference in New Issue
Block a user