aboutsummaryrefslogtreecommitdiff
path: root/mammoth
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth')
-rw-r--r--mammoth/style_reader/__init__.py1
-rw-r--r--mammoth/style_reader/html_path_reader.py (renamed from mammoth/style_reader.py)3
2 files changed, 3 insertions, 1 deletions
diff --git a/mammoth/style_reader/__init__.py b/mammoth/style_reader/__init__.py
new file mode 100644
index 0000000..892326e
--- /dev/null
+++ b/mammoth/style_reader/__init__.py
@@ -0,0 +1 @@
+from .html_path_reader import read_html_path
diff --git a/mammoth/style_reader.py b/mammoth/style_reader/html_path_reader.py
index 2cdc261..0de6e8c 100644
--- a/mammoth/style_reader.py
+++ b/mammoth/style_reader/html_path_reader.py
@@ -1,6 +1,6 @@
from parsimonious.grammar import Grammar
-from . import html_paths
+from .. import html_paths
def read_html_path(string):
@@ -76,3 +76,4 @@ identifier = ~"[A-Z0-9]*"i
whitespace = ~"\s"*
""")
+