#!/usr/bin/env python
"""Handles decoding flac files"""
import subprocess
import config

HANDLES=['flac','fla']

def decode(inF, outF):
    st = subprocess.call(["flac",
            "--totally-silent", #No output
            "-d" #Decode
            "--force", #Overwrite files
            "-o", outF, #Output
            inF #input
    ])

    if st == 0:
        return outF
    else:
        return False

getMetadata = config.readExiftoolMetadata

#!/usr/bin/env python
"""Handles decoding flac files"""
import subprocess
import config

HANDLES=['flac','fla']

def decode(inF, outF):
    st = subprocess.call(["flac",
            "--totally-silent", #No output
            "--decode", #Decode
            "--force", #Overwrite files
            "-o", outF, #Output
            inF #input
    ])

    if st == 0:
        return outF
    else:
        return False

getMetadata = config.readExiftoolMetadata

Use full name (-d => --decode), and needed a comma
Use full name (-d => --decode), and needed a comma