id3guess: update for python3
This commit is contained in:
parent
04b46cf382
commit
188a67810b
5
id3guess
5
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('.')):
|
||||
|
Loading…
x
Reference in New Issue
Block a user