diff options
Diffstat (limited to 'gerber/rs274x.py')
-rw-r--r-- | gerber/rs274x.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerber/rs274x.py b/gerber/rs274x.py index fee60b3..afdf45f 100644 --- a/gerber/rs274x.py +++ b/gerber/rs274x.py @@ -740,7 +740,7 @@ class GerberParser(object): # from start and end). We select the center with the least error in # radius from all the options with a valid sweep angle. - sqdist_diff_min = sys.maxint + sqdist_diff_min = sys.maxsize center = None for factors in [(1, 1), (1, -1), (-1, 1), (-1, -1)]: |