Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Torchaudio
Commits
b71b5ee5
Unverified
Commit
b71b5ee5
authored
May 05, 2020
by
Tomás Osório
Committed by
GitHub
May 05, 2020
Browse files
fix mypy error (#590)
parent
b4998409
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchaudio/__init__.py
torchaudio/__init__.py
+1
-1
No files found.
torchaudio/__init__.py
View file @
b71b5ee5
...
@@ -339,7 +339,7 @@ def get_sox_bool(i: int = 0) -> Any:
...
@@ -339,7 +339,7 @@ def get_sox_bool(i: int = 0) -> Any:
return
_torch_sox
.
sox_bool
(
i
)
return
_torch_sox
.
sox_bool
(
i
)
_SOX_INITIALIZED
=
False
_SOX_INITIALIZED
:
Optional
[
bool
]
=
False
# This variable has a micro lifecycle. (False -> True -> None)
# This variable has a micro lifecycle. (False -> True -> None)
# False: Not initialized
# False: Not initialized
# True: Initialized
# True: Initialized
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment