From 5be781be5eb71b20f49019f955b1a01e0e09bc6f Mon Sep 17 00:00:00 2001 From: gpitel Date: Sat, 17 Dec 2016 10:22:21 -0500 Subject: [PATCH] getting path errors on windows when using the logging module. There was a line of code that was commented out that when enabled, fixed the problem. --- pyjs/lib/logging/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyjs/lib/logging/__init__.py b/pyjs/lib/logging/__init__.py index ba23514c0..5085e573a 100644 --- a/pyjs/lib/logging/__init__.py +++ b/pyjs/lib/logging/__init__.py @@ -48,7 +48,7 @@ # caller stack frame. # _srcfile = __file__ -#_srcfile = os.path.normcase(_srcfile) +_srcfile = os.path.normcase(_srcfile) # next bit filched from 1.5.2's inspect.py def currentframe():