test(analyzer): fix inconsistent return statement

This commit is contained in:
jo 2022-02-14 17:33:38 +01:00 committed by Kyle Robbertze
parent c6124b4012
commit 29511cfd2d
1 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ def probe_replaygain(filepath: Path) -> Optional[float]:
if track_gain_match:
return float(track_gain_match.group(1))
return None
_COMPUTE_REPLAYGAIN_RE = re.compile(
@ -55,6 +56,7 @@ def compute_replaygain(filepath: Path) -> Optional[float]:
if track_gain_match:
return float(track_gain_match.group(1))
return None
_SILENCE_DETECT_RE = re.compile(