mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
Strip spaces when uncommenting locales.
This commit is contained in:
parent
e78708a3ba
commit
893417d26e
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:]
|
||||
line = line[1:].strip()
|
||||
|
||||
if locale in line and line[0] == "#":
|
||||
# uncomment line
|
||||
line = line[1:]
|
||||
line = line[1:].strip()
|
||||
|
||||
gen.write(line)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue