diff --git a/third_party/color_emoji/add_glyphs.py b/third_party/color_emoji/add_glyphs.py index 1c1d1ce2e..a8d986547 100644 --- a/third_party/color_emoji/add_glyphs.py +++ b/third_party/color_emoji/add_glyphs.py @@ -1,11 +1,12 @@ #!/usr/bin/env python -import glob, sys +import glob, os, sys from fontTools import ttx from fontTools.ttLib.tables import otTables from png import PNG -sys.path.append('../../') +sys.path.append( + os.path.join(os.path.dirname(__file__), os.pardir, os.pardir)) import add_emoji_gsub