Skip to content

Commit

Permalink
fix string check
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian-Robert Stöter committed Dec 20, 2017
1 parent a595ddd commit a413166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stempeg/write.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def check_available_aac_encoders():
][0]
hay = aac_codecs.decode('ascii')
match = re.findall('\(encoders: ([^\)]*) \)', hay)
if match is not None:
if match:
return match[0].split(" ")
else:
return None
Expand Down

0 comments on commit a413166

Please sign in to comment.