aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/kernel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel.py b/scripts/kernel.py
index 0b374c4..11dce0f 100644
--- a/scripts/kernel.py
+++ b/scripts/kernel.py
@@ -12,7 +12,7 @@ import utils
def config(txtconfig):
"Apply text configuration to kernel folder"
infile = tempfile.NamedTemporaryFile()
- for ln in infile:
+ for ln in txtconfig:
infile.write(bytes(ln + '\n', sys.getdefaultencoding()))
wd = os.getcwd()
os.chdir(sf(conf.linux_sources))