Whitespace again
This commit is contained in:
parent
0877a08713
commit
be6f8bbafc
@ -460,7 +460,7 @@ def main():
|
||||
file_path = None
|
||||
elif action == 'receive':
|
||||
file_path = get_file_path(
|
||||
path=input(f"Enter destination folder:\t\t\t\t\t\t"),
|
||||
path=input(f"Enter destination folder:\t\t\t\t"),
|
||||
action=action
|
||||
)
|
||||
if file_path and not os.path.isdir(os.path.abspath(file_path)):
|
||||
@ -481,13 +481,13 @@ def main():
|
||||
)
|
||||
logging.info(
|
||||
"You have not provided a token for this connection.\n"
|
||||
f"A token has been generated for you:\t\t{token}\n"
|
||||
f"A token has been generated for you:\t\t\t{token}\n"
|
||||
"Your peer must be informed of this token.\n"
|
||||
"For future connections, you may provide a custom token writing "
|
||||
"it in config file."
|
||||
)
|
||||
while token is None or not (6 <= len(token) <= 10):
|
||||
token = input("Please enter a 6-10 chars token.\t\t\t\t")
|
||||
token = input("Please enter a 6-10 chars token.\t\t\t")
|
||||
if new_settings:
|
||||
answer = utilities.timed_input(
|
||||
"You may store the following configuration values in "
|
||||
@ -495,7 +495,7 @@ def main():
|
||||
'\t\t'.join(map(str, item))
|
||||
for item in new_settings.items()
|
||||
) + '\n\n'
|
||||
'Do you want to store them?\t\t\t',
|
||||
'Do you want to store them?\t\t\t\t\t\t',
|
||||
timeout=3
|
||||
)
|
||||
if answer:
|
||||
|
Loading…
x
Reference in New Issue
Block a user