Skip to content

Commit

Permalink
Merge pull request #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 committed Nov 7, 2020
2 parents cbf49d6 + f0032d9 commit 52af9c2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bCNC/plugins/spirograph.py
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 52af9c2

Please sign in to comment.