-#!/usr/bin/python2.6
+#!/usr/bin/python
# -*- coding: utf-8 -*-
# vim: set et ts=4:
f.close()
f = open(xinitrc, 'w')
for line in lines:
- if line.startswith('exec '): line = wm_exec
+ if line.strip().startswith('exec '): line = wm_exec
f.write(line)
os.fchmod(f.fileno(), 0750)
f.close()