mirror of
https://github.com/cool-RR/PySnooper.git
synced 2026-01-23 10:15:11 +00:00
Update tracer.py
This commit is contained in:
parent
34f94f74dc
commit
f3d08deb9b
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ def get_path_and_source_from_frame(frame):
|
|||
_, _, source, _ = linecache.cache.get(file_name)
|
||||
except Exception:
|
||||
pass
|
||||
if ipython_filename_match:
|
||||
elif ipython_filename_match:
|
||||
entry_number = int(ipython_filename_match.group(1))
|
||||
try:
|
||||
import IPython
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue