From: Paul Brossier Date: Thu, 23 Mar 2017 14:22:33 +0000 (+0100) Subject: python/lib/aubio/cut.py: remove unused imports X-Git-Tag: 0.4.5~44^2~5 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=4077fa18ebf8f4acbc14613ae5a8821ebed17fe3;p=aubio.git python/lib/aubio/cut.py: remove unused imports --- diff --git a/python/lib/aubio/cut.py b/python/lib/aubio/cut.py index f8bbef44..8ca41090 100644 --- a/python/lib/aubio/cut.py +++ b/python/lib/aubio/cut.py @@ -132,7 +132,6 @@ def parse_args(): help="be quiet") (options, args) = parser.parse_args() if not options.source_file: - import os.path if len(args) == 1: options.source_file = args[0] else: @@ -148,7 +147,7 @@ def main(): samplerate = options.samplerate source_file = options.source_file - from aubio import onset, tempo, source, sink + from aubio import onset, tempo, source s = source(source_file, samplerate, hopsize) if samplerate == 0: samplerate = s.get_samplerate()