diff --git a/id3guess b/id3guess index 326a5d0..92208a0 100755 --- a/id3guess +++ b/id3guess @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys @@ -6,10 +6,13 @@ import re from subprocess import Popen, PIPE sys.stdout.write('Artist: ') +sys.stdout.flush() artist = sys.stdin.readline().strip() sys.stdout.write('Album: ') +sys.stdout.flush() album = sys.stdin.readline().strip() sys.stdout.write('Year: ') +sys.stdout.flush() year = sys.stdin.readline().strip() for f in sorted(os.listdir('.')):