Skip to content

Commit

Permalink
turns out CocoaPen can be imported on non-cocoa platforms, so changed…
Browse files Browse the repository at this point in the history
… the CAN_COCOA import test to objc
  • Loading branch information
stenson committed Jan 27, 2025
1 parent 40b2bed commit 7811558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/fontgoggles/misc/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
CAN_COCOA = True

try:
from fontTools.pens.cocoaPen import CocoaPen
import objc
except ImportError:
CAN_COCOA = False

Expand Down

0 comments on commit 7811558

Please sign in to comment.