Skip to content

Commit

Permalink
Analyzer sys path fix (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
omri374 authored Aug 9, 2020
1 parent 07a877d commit f0e3de2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion presidio-analyzer/presidio_analyzer/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
from knack.help import CLIHelp
from knack.help_files import helps

sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

from analyzer_engine import AnalyzerEngine # noqa
from recognizer_registry.recognizer_registry import RecognizerRegistry # noqa
from nlp_engine import NLP_ENGINES # noqa
from presidio_logger import PresidioLogger # noqa
from protobuf_models import analyze_pb2, analyze_pb2_grpc
from protobuf_models import analyze_pb2, analyze_pb2_grpc # noqa

logger = PresidioLogger("presidio")

Expand Down

0 comments on commit f0e3de2

Please sign in to comment.