summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')