fonttools: import correct module (#9322)

Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54618
This commit is contained in:
DavidKorczynski 2022-12-31 12:09:33 +00:00 committed by GitHub
parent ab04f459fa
commit 936463cc61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -15,8 +15,11 @@
import sys
import atheris
from fontTools import ttx
from fontTools import misc
from fontTools import (
ttx,
misc,
ttLib
)
import xml
@ -38,7 +41,7 @@ def TestOneInput(data):
pass
except misc.xmlReader.TTXParseError:
pass
except fontTools.ttLib.TTLibError:
except ttLib.TTLibError:
pass