Skip to content

Commit 988630f

Browse files
committed
Fixed Python 3.11 compatibility. Fixes #188
1 parent 947c3c9 commit 988630f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stl/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _get_name(args):
2929
args.name,
3030
getattr(args.outfile, 'name', None),
3131
getattr(args.infile, 'name', None),
32-
'numpy-stl-%06d' % random.randint(0, 1e6),
32+
'numpy-stl-%06d' % random.randint(0, 1_000_000),
3333
]
3434

3535
for name in names: # pragma: no branch

0 commit comments

Comments
 (0)