From bdab83e1e45982eb8871a9872cf72914dec903b0 Mon Sep 17 00:00:00 2001 From: Kai Xu Date: Thu, 19 Sep 2019 14:02:31 +0100 Subject: [PATCH] bugfix --- src/scripting.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting.jl b/src/scripting.jl index 793abb7..8c5d44c 100644 --- a/src/scripting.jl +++ b/src/scripting.jl @@ -76,7 +76,7 @@ end Execute `expr` if the current logger is TBLogger. """ macro tb(expr) - if current_logger() isa TBLogger + if Logging.current_logger() isa TBLogger return esc(expr) else return nothing