Skip to content

Commit

Permalink
Merge pull request vlachoudis#1484 from kvinwang/fix1482
Browse files Browse the repository at this point in the history
import gcd from math as a fallback
  • Loading branch information
Harvie authored Nov 7, 2020
2 parents dc6cbbb + d1d2136 commit d264ab9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bCNC/plugins/spirograph.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
import math
from CNC import CNC,Block
from ToolsPage import Plugin
from fractions import gcd
try:
from fractions import gcd
except ImportError:
from math import gcd


#==============================================================================
Expand Down

0 comments on commit d264ab9

Please sign in to comment.