summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <jonheier@start.no>2007-10-01 21:11:16 +0200
committerJon Bergli Heier <jonheier@start.no>2007-10-01 21:11:16 +0200
commit07bb34c54a53c447f8068fcd26c616cbe2386966 (patch)
treed23d63b33bd65c23c9378cb21fb48d96c63fd70d
parentd037149e75ba88a5d11ac7b74a2a9baf0e376638 (diff)
Use strip instead of split in Styles.read.
-rw-r--r--pykfx/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykfx/__init__.py b/pykfx/__init__.py
index 71167db..98c0cbe 100644
--- a/pykfx/__init__.py
+++ b/pykfx/__init__.py
@@ -74,7 +74,7 @@ class Styles:
s = Style(self.format, s)
self.styles[s.name.lower()] = s
self.names.append(s.name.lower())
- s = f.readline().split()
+ s = f.readline().strip()
def write(self, f):
f.write('[V4+ Styles]\n')