Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
xukai92 committed Sep 19, 2019
1 parent e3b01fa commit bdab83e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripting.jl
Expand Up @@ -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
Expand Down

0 comments on commit bdab83e

Please sign in to comment.