From 7e0742f29bca53e698ba505c8e757897231e000c Mon Sep 17 00:00:00 2001 From: Bas Stottelaar Date: Thu, 10 Sep 2015 19:55:33 +0200 Subject: [PATCH] Potential fix for #2355. --- headphones/postprocessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/postprocessor.py b/headphones/postprocessor.py index 7235a954..2dab6062 100755 --- a/headphones/postprocessor.py +++ b/headphones/postprocessor.py @@ -812,7 +812,7 @@ def moveFiles(albumpath, release, tracks): try: os.chmod(os.path.normpath(temp_f).encode(headphones.SYS_ENCODING, 'replace'), int(headphones.CONFIG.FOLDER_PERMISSIONS, 8)) except Exception as e: - logger.error("Error trying to change permissions on folder: %s. %s", temp_f, e) + logger.error("Error trying to change permissions on folder: %s. %s", temp_f.decode(headphones.SYS_ENCODING, 'replace'), e) # If we failed to move all the files out of the directory, this will fail too try: