We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4326e75 commit 21e1948Copy full SHA for 21e1948
setup.py
@@ -17,7 +17,7 @@
17
with open(os.path.join(TOP_DIR, 'ONNX_VERSION_NUMBER')) as onnx_version_file:
18
onnx_version = onnx_version_file.read().strip()
19
# see if our build process has added a suffix to the version
20
- n_dots = [i for i, letter in enumerate(s) if letter == "."]
+ n_dots = [i for i, ch in enumerate(onnx_version) if ch == "."]
21
22
# get the ONNX version from the upstream repo
23
# by removing the suffix appended by the Fork build process
0 commit comments