Skip to content

Commit

Permalink
Fix type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
cryzed committed Feb 2, 2020
1 parent 740dc0e commit 1eb03a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traffictoll/speedtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _sivel_speedtest_cli() -> SpeedTestResult:
)


def _get_speedtest_provider() -> _SpeedTestProvider:
def _get_speedtest_provider() -> Optional[_SpeedTestProvider]:
process = run(
_SPEEDTEST_VERSION_COMMAND, stdout=subprocess.PIPE, universal_newlines=True
)
Expand Down

0 comments on commit 1eb03a2

Please sign in to comment.