Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/i3.py
diff options
context:
space:
mode:
authorSecondThundeR <awayfromgalaxy@gmail.com>2021-04-19 20:34:35 +0300
committerSecondThundeR <awayfromgalaxy@gmail.com>2021-04-19 20:34:35 +0300
commitd2eacffff8e5ad560c55300477cdf28f475eb36c (patch)
tree7b79686cbfb50a75274541a6ba894553b0fbcf07 /profiles/i3.py
parenta316846121caf4b26f96bed8dbe057b649cc409d (diff)
Update some functions
Here are list of changes: - Added IP/subnet validation using Python's `ipaddress` module - Added workaround for network configuration modes where user can enter DHCP or IP without brackets. - Returned local printing options for some functions to keep `The above list...` - Moved booleans for `generic_select` below options and text parameters - Imported some functions from `archinstall` to reduce the`archinstall.` part of the lines. - Reduced variable name length for simplicity - Fixed some typos
Diffstat (limited to 'profiles/i3.py')
-rw-r--r--profiles/i3.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/profiles/i3.py b/profiles/i3.py
index fc427186..923b2f2b 100644
--- a/profiles/i3.py
+++ b/profiles/i3.py
@@ -17,7 +17,8 @@ def _prep_function(*args, **kwargs):
"""
supported_configurations = ['i3-wm', 'i3-gaps']
- desktop = archinstall.generic_select(supported_configurations, 'Select your desired configuration: ', False)
+ desktop = archinstall.generic_select(supported_configurations, 'Select your desired configuration: ',
+ allow_empty_input=False)
# Temporarily store the selected desktop profile
# in a session-safe location, since this module will get reloaded