Skip to content

Commit

Permalink
IDA 7.4 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trou committed Nov 22, 2019
1 parent 8cb11d2 commit 1792caf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/install_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
import requests
print "'requests' is installed, good."
except ImportError:
askyn = idaapi.ask_yn if hasattr(idaapi, "ask_yn") else idaapi.askyn_c
if askyn(idaapi.ASKBTN_NO,
if idaapi.ask_yn(idaapi.ASKBTN_NO,
"'requests' is not installed, do you want to install it ?\n"
"Choose 'no' if you do not intend to use "
"a distant BinCAT server") == idaapi.ASKBTN_YES:
Expand Down

0 comments on commit 1792caf

Please sign in to comment.