Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -132,7 +132,6 @@ def parse_args(): · 131 unmodified lines | ||
| 132 | 132 | help="be quiet") |
| 133 | 133 | (options, args) = parser.parse_args() |
| 134 | 134 | if not options.source_file: |
| 135 | − import os.path | |
| 136 | 135 | if len(args) == 1: |
| 137 | 136 | options.source_file = args[0] |
| 138 | 137 | else: |
| @@ -148,7 +147,7 @@ def main(): · 9 unmodified lines | ||
| 148 | 147 | samplerate = options.samplerate |
| 149 | 148 | source_file = options.source_file |
| 150 | 149 | |
| 151 | − from aubio import onset, tempo, source, sink | |
| 150 | + from aubio import onset, tempo, source | |
| 152 | 151 | |
| 153 | 152 | s = source(source_file, samplerate, hopsize) |
| 154 | 153 | if samplerate == 0: samplerate = s.get_samplerate() |