Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

Commit

Permalink
Fix unicodedata import on ST2 Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Jul 7, 2014
1 parent 0dace85 commit b631e1d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion markdown/extensions/headerid.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,13 @@
from ..util import HTML_PLACEHOLDER_RE, parseBoolValue
import re
import logging
import unicodedata
try:
import unicodedata
except:
import sys
from os.path import dirname
sys.path.append(dirname(sys.executable))
import unicodedata

logger = logging.getLogger('MARKDOWN')

Expand Down

0 comments on commit b631e1d

Please sign in to comment.