|
@@ -465,7 +465,6 @@ def main():
|
|
)
|
|
)
|
|
if file_path and not os.path.isdir(os.path.abspath(file_path)):
|
|
if file_path and not os.path.isdir(os.path.abspath(file_path)):
|
|
file_path = None
|
|
file_path = None
|
|
- new_settings['file_path'] = file_path
|
|
|
|
if password is None:
|
|
if password is None:
|
|
logging.warning(
|
|
logging.warning(
|
|
"You have provided no password for file encryption.\n"
|
|
"You have provided no password for file encryption.\n"
|
|
@@ -491,11 +490,12 @@ def main():
|
|
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\t")
|
|
if new_settings:
|
|
if new_settings:
|
|
answer = utilities.timed_input(
|
|
answer = utilities.timed_input(
|
|
- "Do you want to store the following configuration values in "
|
|
|
|
- "`config.py`?\n\n" + '\n'.join(
|
|
|
|
|
|
+ "You may store the following configuration values in "
|
|
|
|
+ "`config.py`.\n\n" + '\n'.join(
|
|
'\t\t'.join(map(str, item))
|
|
'\t\t'.join(map(str, item))
|
|
for item in new_settings.items()
|
|
for item in new_settings.items()
|
|
- ) + '\n\t\t\t',
|
|
|
|
|
|
+ ) + '\n\n'
|
|
|
|
+ 'Do you want to store them?\t\t\t',
|
|
timeout=3
|
|
timeout=3
|
|
)
|
|
)
|
|
if answer:
|
|
if answer:
|