Skip to content

Commit

Permalink
Merge pull request #89 from source-foundry/chrissimpkins-ufolib-reade…
Browse files Browse the repository at this point in the history
…r-deprecation-fix

Refactor deprecated fontTools.ufoLib.UFOReader property
  • Loading branch information
chrissimpkins authored Dec 8, 2020
2 parents eedf001 + 8af63e8 commit 9b4ca25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ufolint/controllers/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def _check_ufo_import_and_define_ufo_version(self):
res = Result(self.ufopath)
try:
ufolib_reader = UFOReader(self.ufopath, validate=True)
self.ufoversion = ufolib_reader.formatVersion
self.ufoversion = ufolib_reader.formatVersionTuple[0]
self.ufolib_reader = ufolib_reader
res.test_failed = False
ss.stream_result(res)
Expand Down

0 comments on commit 9b4ca25

Please sign in to comment.