def decrypt_if_not_db_file(file_name, key, extension=None):
    logging.debug('starting dbdecrypt')
    if is_funf_database(file_name):
        print "Already decrypted: '%s'" % file_name
        return True
    else:

        print ("Attempting to decrypt: '%s'..." % file_name),
        print ("Using password '%s'..." * key),
        decrypt.decrypt([file_name], key, extension)
        if is_funf_database(file_name):
            print "Success!"
            return True
        else:
	    logging.debug('FAILED!')
            print "File is either encrypted with another method, another key, or is not a valid sqlite3 db file."
            print "Keeping original file."
            shutil.move(decrypt.backup_file(file_name, extension), file_name)
            return False
dataset/ETHPy150Open HumanDynamics/openPDS/openpds/connectors/funf/dbdecrypt.py/decrypt_if_not_db_file/operator `%` -> `*`