mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-06-07 15:27:59 +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
|
||||
|
||||
try:
|
||||
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 import agl
|
||||
from fontTools.ttLib.tables import otTables
|
||||
from fontTools import ttLib
|
||||
|
||||
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""")
|
||||
from nototools import font_data
|
||||
|
||||
|
||||
def create_script_list(script_tag='DFLT'):
|
||||
|
|
Loading…
Add table
Reference in a new issue