Skip to content

Commit

Permalink
Fix tuple unpacking issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kkremitzki authored and looooo committed Jan 30, 2017
1 parent 06a5bfb commit 541ff37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Path/PathScripts/PathLog.py
Expand Up @@ -82,8 +82,9 @@ def _caller():
file, line, func, text = traceback.extract_stack(limit=3)[0]
return os.path.splitext(os.path.basename(file))[0], line, func

def _log(level, module, line, func, msg):
def _log(level, module_line_func, msg):
"""internal function to do the logging"""
module, line, func = module_line_func
if getLevel(module) >= level:
message = "%s.%s: %s" % (module, Level.toString(level), msg)
if _useConsole:
Expand Down

0 comments on commit 541ff37

Please sign in to comment.