Fix some errors in scripts.
[librarian.git] / librarian / text.py
index 9a4fd7a..d965a47 100644 (file)
@@ -45,6 +45,8 @@ def transform(wldoc, flags=None, **options):
     if flags:
         for flag in flags:
             document.edoc.getroot().set(flag, 'yes')
+    if 'wrapping' in options:
+        options['wrapping'] = str(options['wrapping'])
 
     result = document.transform(style, **options)