Skip to content

Commit

Permalink
no need to global platform in setUseCocoa
Browse files Browse the repository at this point in the history
  • Loading branch information
stenson committed Jan 20, 2025
1 parent 04bc761 commit 520529e
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 @@ -96,7 +96,7 @@ def path(self):


def setUseCocoa(onOff):
global platform, _platform
global _platform
if onOff:
assert CAN_COCOA
_platform = PlatformCocoa if onOff else PlatformGeneric
Expand Down

0 comments on commit 520529e

Please sign in to comment.