From 188a67810bca3030e3c958b93dc3804d341a65a3 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 24 Aug 2020 22:45:00 -0400 Subject: [PATCH] id3guess: update for python3 --- id3guess | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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('.')):