Skip to content

Commit

Permalink
Merge pull request #320 from sarahayu/bundling-for-ventura
Browse files Browse the repository at this point in the history
Bundling for ventura
  • Loading branch information
strob committed Mar 5, 2023
2 parents bfbc668 + e51b22d commit f29245a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gentle/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.10.1'
__version__ = '0.11.0'
2 changes: 1 addition & 1 deletion gentle/resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def resample_sox(infile, outfile, offset=None, duration=None):
def resample(infile, outfile, offset=None, duration=None):
if not os.path.isfile(infile):
raise IOError("Not a file: %s" % infile)
if shutil.which(FFMPEG):
if shutil.which(FFMPEG) or os.path.exists(FFMPEG):
return resample_ffmpeg(infile, outfile, offset, duration)
else:
return resample_sox(infile, outfile, offset, duration)
Expand Down

0 comments on commit f29245a

Please sign in to comment.