mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-06-14 10:37:59 +00:00
fix add_glyphs to use absolute path when extending sys.path
This commit is contained in:
parent
e607a37b0d
commit
baad14e5aa
1 changed files with 2 additions and 2 deletions
4
third_party/color_emoji/add_glyphs.py
vendored
4
third_party/color_emoji/add_glyphs.py
vendored
|
@ -1,11 +1,11 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import glob, sys
|
import glob, os, sys
|
||||||
from fontTools import ttx
|
from fontTools import ttx
|
||||||
from fontTools.ttLib.tables import otTables
|
from fontTools.ttLib.tables import otTables
|
||||||
from png import PNG
|
from png import PNG
|
||||||
|
|
||||||
sys.path.append('../../')
|
sys.path.append(os.path.join(os.path.dirname(__file__), '../../'))
|
||||||
import add_emoji_gsub
|
import add_emoji_gsub
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue