#!/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

#!/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

--- 
+++ 
@@ -8,7 +8,7 @@
 def decode(inF, outF):
     st = subprocess.call(["flac",
             "--totally-silent", #No output
-            "-d" #Decode
+            "--decode", #Decode
             "--force", #Overwrite files
             "-o", outF, #Output
             inF #input
Use full name (-d => --decode), and needed a comma