Skip to content

Commit

Permalink
Fix class import
Browse files Browse the repository at this point in the history
  • Loading branch information
mahaloz committed Apr 20, 2023
1 parent 856f936 commit 4c1159f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions angrmanagement/plugins/angr_binsync/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import logging

try:
from binsync.decompilers.angr import *
# we need to import the plugin to register it
from binsync.decompilers.angr.plugin import BinSyncPlugin # noqa: F401
except ImportError:
print("[!] BinSync is not installed, please `pip install binsync` for THIS python interpreter")
logging.getLogger(__name__).error(
"[!] BinSync is not installed, please `pip install binsync` for THIS python interpreter"
)

0 comments on commit 4c1159f

Please sign in to comment.