updates
This commit is contained in:
@@ -110,7 +110,6 @@ async def main():
|
||||
role = 'receive'
|
||||
password = args.password
|
||||
if args.send and args.password is None:
|
||||
#password = xp.generate_xkcdpassword(wordlist, numwords=4, delimiter = "-", case='capitalize')
|
||||
password = diceware.generate_passphrase(4)
|
||||
passwd_part = f"--password {password}"
|
||||
if args.receive and args.password is None:
|
||||
@@ -187,7 +186,7 @@ async def main():
|
||||
await send_encrypted_msg(ws, k, (msgtype, peer_group_id, role, "", "", "", "", "")) # request the next chunk from sender
|
||||
i += 1
|
||||
bar.next()
|
||||
if i > msg["number_of_chunks"]:
|
||||
if i > msg["number_of_chunks"] + 1:
|
||||
bar.index = 100
|
||||
bar.suffix = '%(percent).1f%% complete'
|
||||
bar.update()
|
||||
|
||||
Reference in New Issue
Block a user