Skip to content

Commit

Permalink
Replace Injector with python wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
austinschneider committed Sep 12, 2024
1 parent b907627 commit f80f8b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from . import injection

from . import _util
from . import Injector

# Intropspect package version
import sys
Expand All @@ -28,6 +29,11 @@
utilities.load_detector = _util.load_detector
utilities.load_processes = _util.load_processes

# Override the Injector with the python wrapper
injection._Injector = injection.Injector
injection.Injector = Injector.Injector
del Injector

def darknews_version():
try:
import DarkNews
Expand Down

0 comments on commit f80f8b6

Please sign in to comment.