From 0026dce551d245e6f8a9173335f199a9f33bb24a Mon Sep 17 00:00:00 2001 From: "Grant T. Olson" Date: Mon, 12 Aug 2013 20:32:13 -0400 Subject: [PATCH] Fix for traceback on OSX. Fixes Bitmessage/PyBitmessage#401 --- src/shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared.py b/src/shared.py index da83f374..1d3b19bc 100644 --- a/src/shared.py +++ b/src/shared.py @@ -355,7 +355,7 @@ def checkSensitiveFilePermissions(filename): return True except: # Swallow exception here, but we might run into trouble later! - logger.error('Could not determine filesystem type.', filename) + logger.error('Could not determine filesystem type. %s', filename) present_permissions = os.stat(filename)[0] disallowed_permissions = stat.S_IRWXG | stat.S_IRWXO return present_permissions & disallowed_permissions == 0 -- 2.45.1