Strip spaces when uncommenting locales.

This commit is contained in:
Teo Mrnjavac 2016-05-27 16:58:39 +02:00
parent e78708a3ba
commit 893417d26e

View File

@ -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)