id3guess: update for python3

This commit is contained in:
josh committed 2020-08-24 22:45:00 -04:00
1 parent 04b46cf382
commit 188a67810b
1 file changed
+4 -1
+4 -1
View File
@@ -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('.')):