Skip to content

Commit

Permalink
Merge commit '6aa27e0'
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr committed Jun 23, 2015
2 parents 4804138 + 6aa27e0 commit e994242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interactivemode.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def _RunCLI():
# The goal here is to find the context that imported us
try:
frame = sys.exc_info()[2].tb_frame
while frame.f_code.co_filename[0] != '<':
while frame.f_code.co_filename == __file__:
frame = frame.f_back
while frame.f_code.co_filename[0] == '<':
frame = frame.f_back
Expand Down

0 comments on commit e994242

Please sign in to comment.