Fixed wrapping of util.stringwrap
[wrw.git] / wrw / util.py
index 79a8240..8eed5a0 100644 (file)
@@ -13,6 +13,7 @@ def stringwrap(charset):
             bk = callable(*args, **kwargs)
             for string in bk:
                 yield string.encode(charset)
+        wrapper.__wrapped__ = callable
         return wrapper
     return dec