Skip to content

Commit

Permalink
Fix pythonpath for r2ai-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Sep 24, 2024
1 parent ed1269e commit e1e0b47
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@
# pylint: disable=import-outside-toplevel
# pylint: disable=unused-import
# pylint: disable=missing-function-docstring

import sys
import os
import argparse

script_dir = os.path.dirname(os.path.realpath(__file__))
sys.path.append(script_dir)


from r2ai.main import main as r2ai_main
from r2ai.main import register_r2plugin

Expand Down

0 comments on commit e1e0b47

Please sign in to comment.