Fix startup when no r2pipe or r2lang installed

This commit is contained in:
pancake 2023-11-20 18:27:16 +01:00
parent 7ae32beb37
commit 8ce41517fd
1 changed files with 1 additions and 1 deletions

View File

@ -325,5 +325,5 @@ elif len(sys.argv) > 1:
if arg == "-h" or arg == "-v":
sys.exit(0)
r2ai_repl()
elif not within_r2:
elif not within_r2 and have_r2pipe:
r2ai_repl()