git automerge removed some important stuff

This commit is contained in:
advaithm 2021-04-14 14:05:37 +05:30
parent b292981de6
commit 757aa15f95
No known key found for this signature in database
GPG Key ID: E557E45E6DAFFC0C
1 changed files with 3 additions and 1 deletions

View File

@ -130,7 +130,9 @@ def ask_for_additional_users(prompt='Any additional users to install (leave blan
return users, super_users
def ask_for_a_timezone():
timezone = input('Enter a valid timezone (Example: Europe/Stockholm): ').strip()
timezone = input('Enter a valid timezone (examples: Europe/Stockholm, US/Eastern) or press enter to use UTC: ').strip()
if timezone == '':
timezone = 'UTC'
if (pathlib.Path("/usr")/"share"/"zoneinfo"/timezone).exists():
return timezone
else: