mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 18:05:36 -04:00
Only strip from the left.
This commit is contained in:
parent
9450290212
commit
92d3f5fe85
1 changed files with 2 additions and 2 deletions
|
@ -52,11 +52,11 @@ def run():
|
|||
for line in text:
|
||||
if us in line and line[0] == "#":
|
||||
# uncomment line
|
||||
line = line[1:].strip()
|
||||
line = line[1:].lstrip()
|
||||
|
||||
if locale in line and line[0] == "#":
|
||||
# uncomment line
|
||||
line = line[1:].strip()
|
||||
line = line[1:].lstrip()
|
||||
|
||||
gen.write(line)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue