mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-06-07 23:37:58 +00:00
remove import try
This commit is contained in:
parent
d4ebb27c6d
commit
495a77d727
1 changed files with 2 additions and 12 deletions
|
@ -20,20 +20,10 @@ __author__ = "roozbeh@google.com (Roozbeh Pournader)"
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
try:
|
from fontTools import agl
|
||||||
from fontTools import agl
|
|
||||||
except ImportError as er:
|
|
||||||
sys.exit("""Failed to import fontTools.
|
|
||||||
Please make sure 'pip install -r requirements.txt' runs succesfull""")
|
|
||||||
|
|
||||||
from fontTools.ttLib.tables import otTables
|
from fontTools.ttLib.tables import otTables
|
||||||
from fontTools import ttLib
|
from fontTools import ttLib
|
||||||
|
from nototools import font_data
|
||||||
try:
|
|
||||||
from nototools import font_data
|
|
||||||
except ImportError as er:
|
|
||||||
sys.exit("""Failed to import nototools.
|
|
||||||
Please make sure 'pip install -r requirements.txt' runs succesfull""")
|
|
||||||
|
|
||||||
|
|
||||||
def create_script_list(script_tag='DFLT'):
|
def create_script_list(script_tag='DFLT'):
|
||||||
|
|
Loading…
Add table
Reference in a new issue