if d.get('cmd') == ['list']:
try:
- filenames = [os.path.join(os.getcwd(), x) for x in os.listdir(os.getcwd()) if \
+ filenames = [os.path.join(os.getcwd(), x) for x in os.listdir(os.getcwd() + '/results/') if \
x.endswith('.ogg') or x.endswith('.wav')]
except OSError:
filenames = []