Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
* master:
  Disable source loading
  • Loading branch information
jacebrowning committed Jan 8, 2019
2 parents 13eb1bb + 02dd3eb commit 5ba528a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion log/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def create_logger_record(level, message, *args, exc_info=None, **kwargs):
elif not state.initialized:
helpers.init()

frame, filename, lineno, *_ = inspect.stack()[3]
frame, filename, lineno, *_ = inspect.stack(0)[3]

module = inspect.getmodule(frame)

logger = logging.getLogger(module.__name__)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]

name = "minilog"
version = "1.2.1"
version = "1.2.2"
description = "Minimalistic wrapper for Python logging."

license = "MIT"
Expand Down

0 comments on commit 5ba528a

Please sign in to comment.