aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx/complex_fields.py
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/docx/complex_fields.py')
-rw-r--r--mammoth/docx/complex_fields.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/mammoth/docx/complex_fields.py b/mammoth/docx/complex_fields.py
index d1d95af..75bc05a 100644
--- a/mammoth/docx/complex_fields.py
+++ b/mammoth/docx/complex_fields.py
@@ -3,9 +3,9 @@ class unknown(object):
class Hyperlink(object):
- def __init__(self, href):
- self.href = href
+ def __init__(self, kwargs):
+ self.kwargs = kwargs
-def hyperlink(href):
- return Hyperlink(href)
+def hyperlink(kwargs):
+ return Hyperlink(kwargs=kwargs)