Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/user_interaction.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-24 07:11:06 +0000
committerGitHub <noreply@github.com>2021-04-24 07:11:06 +0000
commit638985f17dfe1934a08b707687a29170bc1dd49c (patch)
tree69b7bb6b73bcd5983ecc27108f8e21112228dd31 /archinstall/lib/user_interaction.py
parent84dbbd0857253cd2e954c2f8951ce426b53a6037 (diff)
parentd21e31d4779593bd371ef0a301f4dc0a4d79cc1f (diff)
Merge pull request #345 from dylanmtaylor/patch-9
Ignore dotfiles and globs in timezone selection
Diffstat (limited to 'archinstall/lib/user_interaction.py')
-rw-r--r--archinstall/lib/user_interaction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index 5d857b93..f35298ee 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -131,7 +131,7 @@ def ask_for_additional_users(prompt='Any additional users to install (leave blan
def ask_for_a_timezone():
while True:
- timezone = input('Enter a valid timezone (examples: Europe/Stockholm, US/Eastern) or press enter to use UTC: ').strip()
+ timezone = input('Enter a valid timezone (examples: Europe/Stockholm, US/Eastern) or press enter to use UTC: ').strip().strip('*.')
if timezone == '':
timezone = 'UTC'
if (pathlib.Path("/usr")/"share"/"zoneinfo"/timezone).exists():